]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
staging: rtl8723bs: use guard clause for AES check
authorLin YuChen <starpt.official@gmail.com>
Thu, 19 Mar 2026 12:07:36 +0000 (20:07 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 31 Mar 2026 08:30:27 +0000 (10:30 +0200)
commitd359ab14db75ea485b3c0788f85eb9cebacd4add
tree0ba728abbc093ee15296e1fb8538c6d3646dfec0
parent29372c18c7f7416397aca91c17541d4d522e5e34
staging: rtl8723bs: use guard clause for AES check

Refactor the AES encryption check by using a guard clause to
reduce the indentation level of the subsequent logic.

Signed-off-by: Lin YuChen <starpt.official@gmail.com>
Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://patch.msgid.link/20260319120737.29692-2-starpt.official@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_security.c