diff options
author | Hannes Eder <hannes@hanneseder.net> | 2008-12-13 00:18:32 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-13 00:18:32 -0500 |
commit | 047ce8f207b144eb9be094ce7427d6e11a687010 (patch) | |
tree | 05542523daf4bc3711a74e12a2390c4c3d05f434 /drivers/isdn | |
parent | 863a76e5881abe276a55c4490607a960790c5b0b (diff) |
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: Hannes Eder <hannes@hanneseder.net>
Acked-by: Karsten Keil <kkeil@suse.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/isdn')
-rw-r--r-- | drivers/isdn/hardware/mISDN/hfcmulti.c | 2 | ||||
-rw-r--r-- | drivers/isdn/mISDN/dsp_cmx.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/drivers/isdn/hardware/mISDN/hfcmulti.c b/drivers/isdn/hardware/mISDN/hfcmulti.c index 970201d3b4c1..0668072320dd 100644 --- a/drivers/isdn/hardware/mISDN/hfcmulti.c +++ b/drivers/isdn/hardware/mISDN/hfcmulti.c | |||
@@ -788,6 +788,7 @@ vpm_init(struct hfc_multi *wc) | |||
788 | } | 788 | } |
789 | } | 789 | } |
790 | 790 | ||
791 | #ifdef UNUSED | ||
791 | static void | 792 | static void |
792 | vpm_check(struct hfc_multi *hctmp) | 793 | vpm_check(struct hfc_multi *hctmp) |
793 | { | 794 | { |
@@ -798,6 +799,7 @@ vpm_check(struct hfc_multi *hctmp) | |||
798 | if ((gpi2 & 0x3) != 0x3) | 799 | if ((gpi2 & 0x3) != 0x3) |
799 | printk(KERN_DEBUG "Got interrupt 0x%x from VPM!\n", gpi2); | 800 | printk(KERN_DEBUG "Got interrupt 0x%x from VPM!\n", gpi2); |
800 | } | 801 | } |
802 | #endif /* UNUSED */ | ||
801 | 803 | ||
802 | 804 | ||
803 | /* | 805 | /* |
diff --git a/drivers/isdn/mISDN/dsp_cmx.c b/drivers/isdn/mISDN/dsp_cmx.c index e868c47991bb..c884511e2d49 100644 --- a/drivers/isdn/mISDN/dsp_cmx.c +++ b/drivers/isdn/mISDN/dsp_cmx.c | |||
@@ -1543,7 +1543,9 @@ send_packet: | |||
1543 | static u32 samplecount; | 1543 | static u32 samplecount; |
1544 | struct timer_list dsp_spl_tl; | 1544 | struct timer_list dsp_spl_tl; |
1545 | u32 dsp_spl_jiffies; /* calculate the next time to fire */ | 1545 | u32 dsp_spl_jiffies; /* calculate the next time to fire */ |
1546 | #ifdef UNUSED | ||
1546 | static u32 dsp_start_jiffies; /* jiffies at the time, the calculation begins */ | 1547 | static u32 dsp_start_jiffies; /* jiffies at the time, the calculation begins */ |
1548 | #endif /* UNUSED */ | ||
1547 | static struct timeval dsp_start_tv; /* time at start of calculation */ | 1549 | static struct timeval dsp_start_tv; /* time at start of calculation */ |
1548 | 1550 | ||
1549 | void | 1551 | void |