]> git.baikalelectronics.ru Git - kernel.git/commit
staging: r8188eu: convert switch to if statement in mgt_dispatcher()
authorMichael Straube <straube.linux@gmail.com>
Sat, 8 Jan 2022 08:27:33 +0000 (09:27 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 25 Jan 2022 15:15:52 +0000 (16:15 +0100)
commit012857bc6161d6ae6438819ca31d223a762e54d7
tree91adf3bc9e1ec7a84c3df4b6487d201b31e2ae34
parent7d7a1a97fdd37997f0ea0e22e4de55a2f23ef517
staging: r8188eu: convert switch to if statement in mgt_dispatcher()

The 'switch (GetFrameSubType(pframe))' in mgt_dispatcher() has only
one case that does something different than the default case. Convert
the switch to an if statement to improve readability.

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20220108082736.16788-3-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_mlme_ext.c