Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/rfkill/rfkill.c: fix unused rfkill_led_trigger() warning
commit 4dec9b8 ("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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information