summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/realtek/rtl818x
diff options
context:
space:
mode:
authorChenTao <chentao107@huawei.com>2020-05-13 03:17:54 +0200
committerKalle Valo <kvalo@codeaurora.org>2020-05-13 17:54:52 +0200
commitb6ba5761faad24fa5d6b931682a74071f3511fdc (patch)
tree91397d52ab1c2deea96f4d74e0dc1badac57fa8e /drivers/net/wireless/realtek/rtl818x
parentrtw88: 8723d: fix sparse warnings for power tracking (diff)
downloadlinux-b6ba5761faad24fa5d6b931682a74071f3511fdc.tar.xz
linux-b6ba5761faad24fa5d6b931682a74071f3511fdc.zip
rtl8187: Remove unused variable rtl8225z2_tx_power_ofdm
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> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Link: https://lore.kernel.org/r/20200513011754.28432-1-chentao107@huawei.com
Diffstat (limited to 'drivers/net/wireless/realtek/rtl818x')
-rw-r--r--drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c4
1 files changed, 0 insertions, 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,