aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/isdn
diff options
context:
space:
mode:
authorJiri Slaby <jirislaby@gmail.com>2010-02-02 07:43:46 -0500
committerDavid S. Miller <davem@davemloft.net>2010-02-03 23:16:47 -0500
commit3e5981774755f2f967cd1d3f3898576cff20e565 (patch)
tree48d6b99ff9c1b15464a8c8b9ee5fe5063f963009 /drivers/isdn
parentf0f4d641d4ebfeb4194e9c26dfa6286802e2e8d1 (diff)
isdn: mISDN, don't compile unused stuff
Remove these compiler warnings: drivers/isdn/hardware/mISDN/w6692.c:534: warning: `setvolume' defined but not used drivers/isdn/hardware/mISDN/w6692.c:561: warning: `enable_pots' defined but not used by moving the functions inside #if 0 ... #endif. And an alternative is to remove them completely if nobody has plans to use them. Signed-off-by: Jiri Slaby <jirislaby@gmail.com> Cc: Karsten Keil <isdn@linux-pingi.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/isdn')
-rw-r--r--drivers/isdn/hardware/mISDN/w6692.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/isdn/hardware/mISDN/w6692.c b/drivers/isdn/hardware/mISDN/w6692.c
index d3f1077b709b..2952a58c7a61 100644
--- a/drivers/isdn/hardware/mISDN/w6692.c
+++ b/drivers/isdn/hardware/mISDN/w6692.c
@@ -529,6 +529,7 @@ W6692_fill_Bfifo(struct w6692_ch *wch)
529 } 529 }
530} 530}
531 531
532#if 0
532static int 533static int
533setvolume(struct w6692_ch *wch, int mic, struct sk_buff *skb) 534setvolume(struct w6692_ch *wch, int mic, struct sk_buff *skb)
534{ 535{
@@ -571,6 +572,7 @@ enable_pots(struct w6692_ch *wch)
571 WriteW6692(card, W_PCTL, card->pctl); 572 WriteW6692(card, W_PCTL, card->pctl);
572 return 0; 573 return 0;
573} 574}
575#endif
574 576
575static int 577static int
576disable_pots(struct w6692_ch *wch) 578disable_pots(struct w6692_ch *wch)