Commit 047ce8f2 authored by Hannes Eder's avatar Hannes Eder Committed by David S. Miller

mISDN: 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: default avatarHannes Eder <hannes@hanneseder.net>
Acked-by: default avatarKarsten Keil <kkeil@suse.de>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 863a76e5
...@@ -788,6 +788,7 @@ vpm_init(struct hfc_multi *wc) ...@@ -788,6 +788,7 @@ vpm_init(struct hfc_multi *wc)
} }
} }
#ifdef UNUSED
static void static void
vpm_check(struct hfc_multi *hctmp) vpm_check(struct hfc_multi *hctmp)
{ {
...@@ -798,6 +799,7 @@ vpm_check(struct hfc_multi *hctmp) ...@@ -798,6 +799,7 @@ vpm_check(struct hfc_multi *hctmp)
if ((gpi2 & 0x3) != 0x3) if ((gpi2 & 0x3) != 0x3)
printk(KERN_DEBUG "Got interrupt 0x%x from VPM!\n", gpi2); printk(KERN_DEBUG "Got interrupt 0x%x from VPM!\n", gpi2);
} }
#endif /* UNUSED */
/* /*
......
...@@ -1543,7 +1543,9 @@ dsp_cmx_send_member(struct dsp *dsp, int len, s32 *c, int members) ...@@ -1543,7 +1543,9 @@ dsp_cmx_send_member(struct dsp *dsp, int len, s32 *c, int members)
static u32 samplecount; static u32 samplecount;
struct timer_list dsp_spl_tl; struct timer_list dsp_spl_tl;
u32 dsp_spl_jiffies; /* calculate the next time to fire */ u32 dsp_spl_jiffies; /* calculate the next time to fire */
#ifdef UNUSED
static u32 dsp_start_jiffies; /* jiffies at the time, the calculation begins */ 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 */ static struct timeval dsp_start_tv; /* time at start of calculation */
void void
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment