diff options
| author | Jonathan Corbet <[email protected]> | 2025-06-06 16:34:31 +0000 |
|---|---|---|
| committer | Jonathan Corbet <[email protected]> | 2025-06-09 20:37:16 +0000 |
| commit | cef8c781ca71ddd0777d639775e66f8630359342 (patch) | |
| tree | 3955a28f2c0686e71bfbeaf95b104e95ef3f63da /scripts/lib/kdoc/kdoc_files.py | |
| parent | docs: kdoc: simplify the PROTO continuation logic (diff) | |
| download | kernel-cef8c781ca71ddd0777d639775e66f8630359342.tar.gz kernel-cef8c781ca71ddd0777d639775e66f8630359342.zip | |
docs: kdoc: move the core dispatch into a state table
Since all of the handlers already nicely have the same prototype, put them
into a table and call them from there and take out the extended
if-then-else series.
Reviewed-by: Mauro Carvalho Chehab <[email protected]>
Signed-off-by: Jonathan Corbet <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions
