staging: rtl8188eu: refactor rtw_reset_securitypriv()
authorMichael Straube <straube.linux@gmail.com>
Mon, 28 Jan 2019 09:51:37 +0000 (10:51 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 Jan 2019 14:40:58 +0000 (15:40 +0100)
commit1c516c54acf64a1e570e2647ea1062f7fcb3e3ad
tree9c1e53463745762b02b6bca3563766ae14d3899c
parent46c36e5a033860e8a4d619355b519dbdf80c976a
staging: rtl8188eu: refactor rtw_reset_securitypriv()

Move the declaration of 'psec_priv' out of the else path and use it
in the if path as well to improve readability. Also clears line over
80 characters checkpatch warnings.

Suggested-by: Joe Perches <joe@perches.com>
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/os_dep/mlme_linux.c