]> git.baikalelectronics.ru Git - kernel.git/commit
gigaset: silence GCC warning for unused 'format_ie'
authorPaul Bolle <pebolle@tiscali.nl>
Sat, 14 Jul 2012 23:11:55 +0000 (23:11 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 Jul 2012 06:23:53 +0000 (23:23 -0700)
commite35de20b8910f65a06248648f857e6cbe45f5996
tree2c19fed646ac68130436931ec92a36e9255bb171
parentc13a5a67f219cd12aa89455876e1f14d8ce80b1d
gigaset: silence GCC warning for unused 'format_ie'

Building Gigaset's CAPI support without Gigaset's debugging enabled
triggers this GCC warning:
    'format_ie' defined but not used [-Wunused-function]

Silence this warning by wrapping format_ie() in an "#ifdef
CONFIG_GIGASET_DEBUG" and "#endif" pair.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/gigaset/capi.c