Thread (5 messages) 5 messages, 3 authors, 2018-10-24

Re: [PATCH v2] rtlwifi: remove set but not used variable 'radiob_array_table' and 'radiob_arraylen'

From: zhong jiang <hidden>
Date: 2018-10-24 02:49:13
Also in: linux-wireless, lkml

On 2018/10/24 8:52, Pkshih wrote:
On Tue, 2018-10-23 at 12:33 -0700, Joe Perches wrote:
quoted
On Tue, 2018-10-23 at 16:28 +0800, zhong jiang wrote:
quoted
radiob_array_table' and 'radiob_arraylen' are not used after setting its
value.
quoted
It is safe to remove the unused variable. Meanwhile, radio B radio should be
removed as well. because it will no longer be referenced.
The patch subject is a bit off and too generic here.

This is specific to rtl8723ae and not rtlwifi so it is
probably better for the subject to be something like:

[PATCH] rtl8723ae: Remove set but not used variables and #defines
I'd like 'rtlwifi: rtl8723ae: ' as subject prefix.
Thanks for your suggestion. Will change the subject and resend.

[PATCH] rtlwifi: rtl8723ae: Remove set but not used variables and #defines


Thanks,
zhong jiang
quoted
quoted
Signed-off-by: zhong jiang <redacted>
---
  drivers/net/wireless/realtek/rtlwifi/rtl8723ae/phy.c   | 5 +----
  drivers/net/wireless/realtek/rtlwifi/rtl8723ae/table.c | 4 ----
  drivers/net/wireless/realtek/rtlwifi/rtl8723ae/table.h | 2 --
------Please consider the environment before printing this e-mail.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help