scripts/kernel-doc: simplify signature printing
authorVegard Nossum <vegard.nossum@oracle.com>
Thu, 15 Feb 2024 13:48:27 +0000 (14:48 +0100)
committerJonathan Corbet <corbet@lwn.net>
Wed, 21 Feb 2024 20:44:21 +0000 (13:44 -0700)
commit9f6f4c110c95a96942004547c84ab22384d9e723
tree58c30362eb2071db6d9113570e969420c3aa82bb
parentd3c55a710f95e11e2369a57cb53d4a7f3280aa57
scripts/kernel-doc: simplify signature printing

Untangle some of the $is_macro logic and the nested conditionals.

This makes it easier to see where and how the signature is actually
printed.

No functional change.

Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/20240215134828.1277109-5-vegard.nossum@oracle.com
scripts/kernel-doc