This series refactors rtw_aes_decrypt() to reduce nesting levels by
using guard clauses. As requested by Greg, the refactoring is split
into two steps to make the logic changes easier to verify.
Patch 1: Introduce guard clause for AES encryption check.
Patch 2: Introduce guard clause for stainfo check.
Lin YuChen (2):
staging: rtl8723bs: use guard clause for AES check
staging: rtl8723bs: use guard clause for stainfo check
drivers/staging/rtl8723bs/core/rtw_security.c | 91 +++++++++----------
1 file changed, 45 insertions(+), 46 deletions(-)
--
2.34.1