]> git.karo-electronics.de Git - linux-beck.git/commitdiff
mISDN: comment out unused symbols
authorHannes Eder <hannes@hanneseder.net>
Sat, 13 Dec 2008 05:18:32 +0000 (21:18 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 Dec 2008 05:18:32 +0000 (21:18 -0800)
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 <hannes@hanneseder.net>
Acked-by: Karsten Keil <kkeil@suse.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/hardware/mISDN/hfcmulti.c
drivers/isdn/mISDN/dsp_cmx.c

index 970201d3b4c1a7161784fe37ebfb950118d4f9fb..0668072320dd7d551cdbb5e94028bd17a52bf40f 100644 (file)
@@ -788,6 +788,7 @@ vpm_init(struct hfc_multi *wc)
        }
 }
 
+#ifdef UNUSED
 static void
 vpm_check(struct hfc_multi *hctmp)
 {
@@ -798,6 +799,7 @@ vpm_check(struct hfc_multi *hctmp)
        if ((gpi2 & 0x3) != 0x3)
                printk(KERN_DEBUG "Got interrupt 0x%x from VPM!\n", gpi2);
 }
+#endif /* UNUSED */
 
 
 /*
index e868c47991bb74b9b3b287770e61b3215f624b5b..c884511e2d49038a465ab9e550a8e04739463de0 100644 (file)
@@ -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