diff mbox series

[-next] mISDN: remove unused variable 'faxmodulation_s'

Message ID 20191101134447.30280-1-yuehaibing@huawei.com
State Accepted
Delegated to: David Miller
Headers show
Series [-next] mISDN: remove unused variable 'faxmodulation_s' | expand

Commit Message

Yue Haibing Nov. 1, 2019, 1:44 p.m. UTC
drivers/isdn/hardware/mISDN/mISDNisar.c:30:17:
 warning: faxmodulation_s defined but not used [-Wunused-const-variable=]

It is never used, so can be removed.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
 drivers/isdn/hardware/mISDN/mISDNisar.c | 1 -
 1 file changed, 1 deletion(-)

Comments

David Miller Nov. 4, 2019, 3:10 a.m. UTC | #1
From: YueHaibing <yuehaibing@huawei.com>
Date: Fri, 1 Nov 2019 21:44:47 +0800

> drivers/isdn/hardware/mISDN/mISDNisar.c:30:17:
>  warning: faxmodulation_s defined but not used [-Wunused-const-variable=]
> 
> It is never used, so can be removed.
> 
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>

Applied.
diff mbox series

Patch

diff --git a/drivers/isdn/hardware/mISDN/mISDNisar.c b/drivers/isdn/hardware/mISDN/mISDNisar.c
index 096d8c5..e325e87 100644
--- a/drivers/isdn/hardware/mISDN/mISDNisar.c
+++ b/drivers/isdn/hardware/mISDN/mISDNisar.c
@@ -27,7 +27,6 @@  MODULE_VERSION(ISAR_REV);
 
 #define DEBUG_HW_FIRMWARE_FIFO	0x10000
 
-static const u8 faxmodulation_s[] = "3,24,48,72,73,74,96,97,98,121,122,145,146";
 static const u8 faxmodulation[] = {3, 24, 48, 72, 73, 74, 96, 97, 98, 121,
 				   122, 145, 146};
 #define FAXMODCNT 13