OSDN Git Service

staging: rtl8188eu: reduce indentation level in _rtw_free_sta_priv
authorMichael Straube <straube.linux@gmail.com>
Sun, 27 Oct 2019 13:06:02 +0000 (14:06 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Oct 2019 15:40:25 +0000 (16:40 +0100)
commit6e845ddd8a554f632a561cba77d8c1811a4d86aa
treecc4f666d3d2145b6f191d94a17eef797a6a94103
parent0c9f72227c76891d6cb1f2a8b70e393601fc8493
staging: rtl8188eu: reduce indentation level in _rtw_free_sta_priv

Reduce indentation level in _rtw_free_sta_priv by returning early if
pstapriv is NULL. Also clears a line over 80 characters checkpatch
warning.

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