wifi: rtlwifi: remove always-true condition pointed out by GCC 12
authorJakub Kicinski <kuba@kernel.org>
Fri, 20 May 2022 19:43:15 +0000 (12:43 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 31 Aug 2022 15:16:32 +0000 (17:16 +0200)
commitb51ca7326d169904e8d688063bb30bc0ec61959f
tree1432f4fe063f278cec053f584bdf069c6f4eb72c
parentaddc9003c2e895fe8a068a66de1de6fdb4c6ac60
wifi: rtlwifi: remove always-true condition pointed out by GCC 12

commit ee3db469dd317e82f57b13aa3bc61be5cb60c2b4 upstream.

The .value is a two-dim array, not a pointer.

struct iqk_matrix_regs {
bool iqk_done;
        long value[1][IQK_MATRIX_REG_NUM];
};

Acked-by: Kalle Valo <kvalo@kernel.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Cc: "Sudip Mukherjee (Codethink)" <sudipm.mukherjee@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c