Re: [PATCH 1/2] staging:r8188eu: refactor OnAction(): use switch instead table lookup

2021-04-02 Thread Greg Kroah-Hartman
On Sun, Mar 28, 2021 at 07:33:23PM +0300, Ivan Safonov wrote: > The switch is easier to read and refactor. Your subject line is incorrect :(

[PATCH 1/2] staging:r8188eu: refactor OnAction(): use switch instead table lookup

2021-03-28 Thread Ivan Safonov
The switch is easier to read and refactor. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_mlme_ext.c | 57 --- .../staging/rtl8188eu/include/rtw_mlme_ext.h | 6 -- 2 files changed, 37 insertions(+), 26 deletions(-) diff --git