Commit 9f6f4c1
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.com1 parent d3c55a7 commit 9f6f4c1
1 file changed
Lines changed: 14 additions & 22 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
820 | 820 | | |
821 | 821 | | |
822 | 822 | | |
823 | | - | |
824 | 823 | | |
825 | 824 | | |
826 | 825 | | |
| |||
854 | 853 | | |
855 | 854 | | |
856 | 855 | | |
857 | | - | |
858 | | - | |
| 856 | + | |
| 857 | + | |
859 | 858 | | |
860 | | - | |
| 859 | + | |
861 | 860 | | |
862 | 861 | | |
863 | 862 | | |
864 | | - | |
865 | 863 | | |
866 | | - | |
867 | | - | |
868 | | - | |
869 | 864 | | |
870 | | - | |
871 | | - | |
872 | | - | |
873 | | - | |
874 | | - | |
875 | | - | |
| 865 | + | |
| 866 | + | |
| 867 | + | |
| 868 | + | |
| 869 | + | |
| 870 | + | |
| 871 | + | |
| 872 | + | |
| 873 | + | |
| 874 | + | |
876 | 875 | | |
877 | | - | |
| 876 | + | |
878 | 877 | | |
879 | 878 | | |
880 | 879 | | |
881 | | - | |
882 | | - | |
883 | | - | |
884 | | - | |
885 | | - | |
886 | | - | |
887 | | - | |
888 | 880 | | |
889 | 881 | | |
890 | 882 | | |
| |||
0 commit comments