mISDN: fix sparse warnings
PATCH 7/9 mISDN: fix sparse warnings
Impact: comment out unused symbols
Fix this sparse warnings:
drivers/isdn/hardware/mISDN/hfcmulti.c:794: warning: 'vpm_check' defined but not used drivers/isdn/mISDN/dsp_cmx.c:1546: warning: 'dsp_start_jiffies' defined but not used
Signed-off-by Hannes Eder <[email protected]>
--- drivers/isdn/hardware/mISDN/hfcmulti.c | 2 ++ drivers/isdn/mISDN/dsp_cmx.c | 2 ++ 2 files changed, 4 insertions(+), 0 deletions(-)
drivers/isdn/hardware/mISDN/hfcmulti.c +2 -0
@@ -789,6 +789,7 @@ vpm_init(struct hfc_multi *wc) } } +#ifdef UNUSED static void vpm_check (struct hfc_multi *hctmp) {
@@ -799,6 +800,7 @@ vpm_check(struct hfc_multi *hctmp)if ((gpi2 &0x3 ) !=0x3 ) printk(KERN_DEBUG "Got interrupt 0x%x from VPM!\n", gpi2); } +#endif /* UNUSED */ /*
drivers/isdn/mISDN/dsp_cmx.c +2 -0
@@ -1543,7 +1543,9 @@ send_packet:static u32 samplecount;struct timer_list dsp_spl_tl;u32 dsp_spl_jiffies;/* calculate the next time to fire */ +#ifdef UNUSED static u32 dsp_start_jiffies;/* jiffies at the time, the calculation begins */ +#endif /* UNUSED */ static struct timeval dsp_start_tv;/* time at start of calculation */ void
Signature · 1 line
1.5.6.3