diff options
| author | Martin Kaiser <martin@kaiser.cx> | 2022-05-02 22:06:49 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-05-05 23:22:38 +0200 |
| commit | 11d2e7de0d8a4b706872f6e79679c32dcb3c0393 (patch) | |
| tree | 5696e9231bff4e29b5fffc51bb88aad797def45e /include/linux/debugobjects.h | |
| parent | 42e00fbbbab049591682d7de3071f713215bd799 (diff) | |
| download | cachepc-linux-11d2e7de0d8a4b706872f6e79679c32dcb3c0393.tar.gz cachepc-linux-11d2e7de0d8a4b706872f6e79679c32dcb3c0393.zip | |
staging: r8188eu: replace OnAction_tbl with switch-case
OnAction_tbl has only three entries. It's simpler to use a switch
statement instead of iterating over the table.
We can then remove the table itself and struct action_handler, which was
used only for the table entries.
Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20220502200652.143665-7-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
