mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-09 19:39:56 +00:00
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:
@@ -703,7 +703,6 @@ class KernelDoc:
|
|||||||
newmember += f"{dtype}{s_id}.{name}{extra}; "
|
newmember += f"{dtype}{s_id}.{name}{extra}; "
|
||||||
|
|
||||||
else:
|
else:
|
||||||
arg = arg.strip()
|
|
||||||
# Handle bitmaps
|
# Handle bitmaps
|
||||||
arg = KernRe(r':\s*\d+\s*').sub('', arg)
|
arg = KernRe(r':\s*\d+\s*').sub('', arg)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user