diff options
author | Aditya Srivastava <yashsri421@gmail.com> | 2021-05-14 20:12:44 +0530 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2021-05-17 11:21:16 -0600 |
commit | e86bdb24375a810ea7993d64ed406a803db71225 (patch) | |
tree | c47f3c59a232872cad851d576f1d3aff1e9da84a /block/bsg.c | |
parent | 2c5ff2caa4f8164e93a9bf035af9a2ad87cad9f2 (diff) |
scripts: kernel-doc: reduce repeated regex expressions into variables
There are some regex expressions in the kernel-doc script, which are used
repeatedly in the script.
Reduce such expressions into variables, which can be used everywhere.
A quick manual check found that no errors and warnings were added/removed
in this process.
Suggested-by: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Aditya Srivastava <yashsri421@gmail.com>
Link: https://lore.kernel.org/r/20210514144244.25341-1-yashsri421@gmail.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'block/bsg.c')
0 files changed, 0 insertions, 0 deletions