Re: [PATCH] gigaset: silence GCC warning for unused 'format_ie'

From: David Miller
Date: Tue Jul 17 2012 - 02:24:48 EST


From: Paul Bolle <pebolle@xxxxxxxxxx>
Date: Sun, 15 Jul 2012 11:11:55 +0200

> 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@xxxxxxxxxx>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/