All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH -next v2] rtl8187: Remove unused variable rtl8225z2_tx_power_ofdm
@ 2020-05-13  1:17 ChenTao
  2020-05-13 15:55 ` Kalle Valo
  0 siblings, 1 reply; 3+ messages in thread
From: ChenTao @ 2020-05-13  1:17 UTC (permalink / raw)
  To: mark, herton, htl10, Larry.Finger, kvalo
  Cc: davem, linux-wireless, netdev, linux-kernel, chentao107

Fix the following warning:

drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:609:17: warning:
‘rtl8225z2_tx_power_ofdm’ defined but not used
 static const u8 rtl8225z2_tx_power_ofdm[] = {

Acked-by: Hin-Tak Leung <htl10@users.sourceforge.net>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: ChenTao <chentao107@huawei.com>
---
v1->v2:
- change the subject

 drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c b/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c
index b2616d61b66d..585784258c66 100644
--- a/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c
+++ b/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c
@@ -606,10 +606,6 @@ static const u8 rtl8225z2_tx_power_cck[] = {
 	0x26, 0x25, 0x21, 0x1b, 0x14, 0x0d, 0x06, 0x03
 };
 
-static const u8 rtl8225z2_tx_power_ofdm[] = {
-	0x42, 0x00, 0x40, 0x00, 0x40
-};
-
 static const u8 rtl8225z2_tx_gain_cck_ofdm[] = {
 	0x00, 0x01, 0x02, 0x03, 0x04, 0x05,
 	0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b,
-- 
2.22.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH -next v2] rtl8187: Remove unused variable rtl8225z2_tx_power_ofdm
  2020-05-13  1:17 [PATCH -next v2] rtl8187: Remove unused variable rtl8225z2_tx_power_ofdm ChenTao
@ 2020-05-13 15:55 ` Kalle Valo
  0 siblings, 0 replies; 3+ messages in thread
From: Kalle Valo @ 2020-05-13 15:55 UTC (permalink / raw)
  To: ChenTao
  Cc: mark, herton, htl10, Larry.Finger, davem, linux-wireless, netdev,
	linux-kernel, chentao107

ChenTao <chentao107@huawei.com> wrote:

> Fix the following warning:
> 
> drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:609:17: warning:
> ‘rtl8225z2_tx_power_ofdm’ defined but not used
>  static const u8 rtl8225z2_tx_power_ofdm[] = {
> 
> Acked-by: Hin-Tak Leung <htl10@users.sourceforge.net>
> Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
> Reported-by: Hulk Robot <hulkci@huawei.com>
> Signed-off-by: ChenTao <chentao107@huawei.com>

Patch applied to wireless-drivers-next.git, thanks.

b6ba5761faad rtl8187: Remove unused variable rtl8225z2_tx_power_ofdm

-- 
https://patchwork.kernel.org/patch/11544493/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH -next v2] rtl8187: Remove unused variable rtl8225z2_tx_power_ofdm
@ 2020-05-13  1:15 ChenTao
  0 siblings, 0 replies; 3+ messages in thread
From: ChenTao @ 2020-05-13  1:15 UTC (permalink / raw)
  To: mark, herton, htl10, Larry.Finger, kvalo
  Cc: davem, linux-wireless, netdev, linux-kernel, chentao107

Fix the following warning:

drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:609:17: warning:
‘rtl8225z2_tx_power_ofdm’ defined but not used
 static const u8 rtl8225z2_tx_power_ofdm[] = {

Acked-by: Hin-Tak Leung <htl10@users.sourceforge.net>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: ChenTao <chentao107@huawei.com>
---
 drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c b/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c
index b2616d61b66d..585784258c66 100644
--- a/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c
+++ b/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c
@@ -606,10 +606,6 @@ static const u8 rtl8225z2_tx_power_cck[] = {
 	0x26, 0x25, 0x21, 0x1b, 0x14, 0x0d, 0x06, 0x03
 };
 
-static const u8 rtl8225z2_tx_power_ofdm[] = {
-	0x42, 0x00, 0x40, 0x00, 0x40
-};
-
 static const u8 rtl8225z2_tx_gain_cck_ofdm[] = {
 	0x00, 0x01, 0x02, 0x03, 0x04, 0x05,
 	0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b,
-- 
2.22.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-05-13 15:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-13  1:17 [PATCH -next v2] rtl8187: Remove unused variable rtl8225z2_tx_power_ofdm ChenTao
2020-05-13 15:55 ` Kalle Valo
  -- strict thread matches above, loose matches on Subject: below --
2020-05-13  1:15 ChenTao

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.