* [PATCH -next] mISDN: remove unused variable 'faxmodulation_s'
@ 2019-11-01 13:44 YueHaibing
2019-11-04 3:10 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: YueHaibing @ 2019-11-01 13:44 UTC (permalink / raw)
To: isdn, yuehaibing, swinslow, tglx, sergey.senozhatsky, davem,
wangkefeng.wang, elfring
Cc: netdev, linux-kernel
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(-)
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
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH -next] mISDN: remove unused variable 'faxmodulation_s'
2019-11-01 13:44 [PATCH -next] mISDN: remove unused variable 'faxmodulation_s' YueHaibing
@ 2019-11-04 3:10 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2019-11-04 3:10 UTC (permalink / raw)
To: yuehaibing
Cc: isdn, swinslow, tglx, sergey.senozhatsky, wangkefeng.wang,
elfring, netdev, linux-kernel
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-11-04 3:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-01 13:44 [PATCH -next] mISDN: remove unused variable 'faxmodulation_s' YueHaibing
2019-11-04 3:10 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).