From: Simon Holm Thøgersen Date: Mon, 5 Jan 2009 01:11:24 +0000 (-0800) Subject: net/rfkill/rfkill.c: fix unused rfkill_led_trigger() warning X-Git-Tag: v2.6.29-rc1~502^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f32f8b72e02e851972a0172603104046aa5fec96;p=pandora-kernel.git net/rfkill/rfkill.c: fix unused rfkill_led_trigger() warning commit 4dec9b807be757780ca3611a959ac22c28d292a7 ("rfkill: strip pointless notifier chain") removed the only user of rfkill_led_trigger() that was not guarded by #ifdef CONFIG_RFKILL_LEDS. Therefore, move rfkill_led_trigger() completely inside #ifdef CONFIG_RFKILL_LEDS and avoid the compile time warning: net/rfkill/rfkill.c:59: warning: 'rfkill_led_trigger' defined but not used Signed-off-by: Simon Holm Thøgersen Signed-off-by: David S. Miller --- Reading git-diff-tree failed