diff options
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00dev.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00dev.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00dev.c b/drivers/net/wireless/rt2x00/rt2x00dev.c index 41e33798adb5..4fff3a83f7df 100644 --- a/drivers/net/wireless/rt2x00/rt2x00dev.c +++ b/drivers/net/wireless/rt2x00/rt2x00dev.c | |||
@@ -871,7 +871,6 @@ int rt2x00lib_probe_dev(struct rt2x00_dev *rt2x00dev) | |||
871 | */ | 871 | */ |
872 | rt2x00link_register(rt2x00dev); | 872 | rt2x00link_register(rt2x00dev); |
873 | rt2x00leds_register(rt2x00dev); | 873 | rt2x00leds_register(rt2x00dev); |
874 | rt2x00rfkill_allocate(rt2x00dev); | ||
875 | rt2x00debug_register(rt2x00dev); | 874 | rt2x00debug_register(rt2x00dev); |
876 | 875 | ||
877 | set_bit(DEVICE_STATE_PRESENT, &rt2x00dev->flags); | 876 | set_bit(DEVICE_STATE_PRESENT, &rt2x00dev->flags); |
@@ -903,7 +902,6 @@ void rt2x00lib_remove_dev(struct rt2x00_dev *rt2x00dev) | |||
903 | * Free extra components | 902 | * Free extra components |
904 | */ | 903 | */ |
905 | rt2x00debug_deregister(rt2x00dev); | 904 | rt2x00debug_deregister(rt2x00dev); |
906 | rt2x00rfkill_free(rt2x00dev); | ||
907 | rt2x00leds_unregister(rt2x00dev); | 905 | rt2x00leds_unregister(rt2x00dev); |
908 | 906 | ||
909 | /* | 907 | /* |