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)
commit3a0f2edf54475ddc4f7cdf3e6b6517841a93e09a
tree91adf3bc9e1ec7a84c3df4b6487d201b31e2ae34
parenta5ea39eaa7fd353af6ba16a8b036073d5483d5f3
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