Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

kernel-doc: Don't try to mark up function names

We now have better automarkup in sphinx itself and, besides, this markup
was incorrect and left :c:func: gunk in the processed docs. Sort of
discouraging that nobody ever noticed...:)

As a first step toward the removal of impenetrable regex magic from
kernel-doc it's a tiny one, but you have to start somewhere.

Signed-off-by: Jonathan Corbet <corbet@lwn.net>

+1 -1
+1 -1
scripts/kernel-doc
··· 249 249 [$type_member_func, "\\:c\\:type\\:`\$1\$2\$3\\\\(\\\\) <\$1>`"], 250 250 [$type_member, "\\:c\\:type\\:`\$1\$2\$3 <\$1>`"], 251 251 [$type_fp_param, "**\$1\\\\(\\\\)**"], 252 - [$type_func, "\\:c\\:func\\:`\$1()`"], 252 + [$type_func, "\$1()"], 253 253 [$type_enum, "\\:c\\:type\\:`\$1 <\$2>`"], 254 254 [$type_struct, "\\:c\\:type\\:`\$1 <\$2>`"], 255 255 [$type_typedef, "\\:c\\:type\\:`\$1 <\$2>`"],