]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite099bb8dd68bd3fbc586a7f0128260e5770eb18b
tree9c1e53463745762b02b6bca3563766ae14d3899c
parent5bb27a526db906226385b7427535b07704b5abfe
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