docs: kdoc: remove an extraneous strip() call

...the variable in question was already strip()ed at the top of the loop.

Reviewed-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/20250807211639.47286-9-corbet@lwn.net
This commit is contained in:
Jonathan Corbet
2025-08-07 15:16:35 -06:00
parent f8208676c1
commit fb20e61039

View File

@@ -703,7 +703,6 @@ class KernelDoc:
newmember += f"{dtype}{s_id}.{name}{extra}; "
else:
arg = arg.strip()
# Handle bitmaps
arg = KernRe(r':\s*\d+\s*').sub('', arg)