isdn: mISDN, don't compile unused stuff
authorJiri Slaby <jirislaby@gmail.com>
Tue, 2 Feb 2010 12:43:46 +0000 (12:43 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 4 Feb 2010 04:16:47 +0000 (20:16 -0800)
commit3e5981774755f2f967cd1d3f3898576cff20e565
tree48d6b99ff9c1b15464a8c8b9ee5fe5063f963009
parentf0f4d641d4ebfeb4194e9c26dfa6286802e2e8d1
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>
drivers/isdn/hardware/mISDN/w6692.c