Skip to content
Commit f32f8b72 authored by Simon Holm Thøgersen's avatar Simon Holm Thøgersen Committed by David S. Miller
Browse files

net/rfkill/rfkill.c: fix unused rfkill_led_trigger() warning

commit 4dec9b80

 ("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: default avatarSimon Holm Thøgersen <odie@cs.aau.dk>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 939678f8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment