diff options
author | Simon Holm Thøgersen <odie@cs.aau.dk> | 2009-01-04 17:11:24 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-01-04 17:11:24 -0800 |
commit | f32f8b72e02e851972a0172603104046aa5fec96 (patch) | |
tree | 10b286e280816a9202bde24938f69c11abd45347 /net/irda/timer.c | |
parent | 939678f81a55c839ae58c9cc3d4ec6d0f60e7dc7 (diff) | |
download | op-kernel-dev-f32f8b72e02e851972a0172603104046aa5fec96.zip op-kernel-dev-f32f8b72e02e851972a0172603104046aa5fec96.tar.gz |
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 <odie@cs.aau.dk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/irda/timer.c')
0 files changed, 0 insertions, 0 deletions