summaryrefslogtreecommitdiff
path: root/scripts/lib
diff options
context:
space:
mode:
authorJonathan Corbet <corbet@lwn.net>2025-08-07 15:16:35 -0600
committerJonathan Corbet <corbet@lwn.net>2025-08-11 10:25:42 -0600
commitfb20e610393b02a832a0bf4964e12c20a7ffa2f8 (patch)
treea61c25ec43f820e1167e72e2d042e113f66b5e30 /scripts/lib
parentf8208676c1c85c0b91e726954c05f5859b890ccb (diff)
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
Diffstat (limited to 'scripts/lib')
-rw-r--r--scripts/lib/kdoc/kdoc_parser.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/scripts/lib/kdoc/kdoc_parser.py b/scripts/lib/kdoc/kdoc_parser.py
index e11f3d6e9469..0c279aa802a0 100644
--- a/scripts/lib/kdoc/kdoc_parser.py
+++ b/scripts/lib/kdoc/kdoc_parser.py
@@ -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)