gigaset: silence GCC warning for unused 'format_ie'
authorPaul Bolle <pebolle@tiscali.nl>
Sat, 14 Jul 2012 23:11:55 +0000 (23:11 +0000)
committerBen Hutchings <ben@decadent.org.uk>
Sat, 11 Nov 2017 13:34:45 +0000 (13:34 +0000)
commitbc23ded31a8b8dbc6fc13a35ed892f9e4f09e37e
treef351d307caaa1d1048f4595a4627675f80e344a7
parent3c64f49a0fad5d83fff4f40467764b4a1c058f9c
gigaset: silence GCC warning for unused 'format_ie'

commit 6ba6047bf99cf4ade4f63b6b3d97cc3ad763b678 upstream.

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>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/isdn/gigaset/capi.c