OSDN Git Service

staging: rtl8188eu: reduce indentation level in rtw_alloc_stainfo
authorMichael Straube <straube.linux@gmail.com>
Sat, 26 Oct 2019 12:11:35 +0000 (14:11 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 26 Oct 2019 18:45:49 +0000 (20:45 +0200)
commit48d357f0beb28e06a52493f73e0606e4b14f6ce9
treec0898efc00508e9e5fc6d100b9b425a0a74684d4
parent1cafe435a9a0469613b416b1cd94ed67bccf4ecc
staging: rtl8188eu: reduce indentation level in rtw_alloc_stainfo

Remove else-arm from if-else statement. Move the else code out of the
if-else and skip it by adding goto exit to the if block. The exit label
was directly after the else-arm, so there is no change in behaviour.
Reduces indentation level and clears a line over 80 characters
checkpatch warning.

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20191026121135.181897-7-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_sta_mgt.c