staging: rtl8712: Fix multiple line dereference
authorShibo Li <zzutcyha@163.com>
Mon, 20 Feb 2023 08:40:50 +0000 (08:40 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Mar 2023 16:00:53 +0000 (17:00 +0100)
commitdd680522f6aefeae94107bf4106b6f2da31c5025
treeadae5f5b9fad8f6ffe251c85ea1b9b12ab6e70e2
parentd1c1ace35e1586025a56c39eb201b6d54a592a09
staging: rtl8712: Fix multiple line dereference

This patch fixes the following warning in rtl871x_mlme.c

WARNING: Avoid multiple line dereference - prefer 'adapter->securitypriv.PrivacyAlgrthm'

Signed-off-by: Shibo Li <zzutcyha@163.com>
Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> AW-NU120
Reviewed-by: Dan Carpenter <error27@gmail.com>
Link: https://lore.kernel.org/r/20230220084050.18459-1-zzutcyha@163.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8712/rtl871x_mlme.c