diff options
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00.h | 2 | ||||
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00dev.c | 4 |
2 files changed, 1 insertions, 5 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00.h b/drivers/net/wireless/rt2x00/rt2x00.h index 333484ddb993..30f9f3afdaef 100644 --- a/drivers/net/wireless/rt2x00/rt2x00.h +++ b/drivers/net/wireless/rt2x00/rt2x00.h | |||
@@ -674,7 +674,7 @@ struct rt2x00_dev { | |||
674 | * This will only be compiled in when required. | 674 | * This will only be compiled in when required. |
675 | */ | 675 | */ |
676 | #ifdef CONFIG_RT2X00_LIB_RFKILL | 676 | #ifdef CONFIG_RT2X00_LIB_RFKILL |
677 | unsigned long rfkill_state; | 677 | unsigned long rfkill_state; |
678 | #define RFKILL_STATE_ALLOCATED 1 | 678 | #define RFKILL_STATE_ALLOCATED 1 |
679 | #define RFKILL_STATE_REGISTERED 2 | 679 | #define RFKILL_STATE_REGISTERED 2 |
680 | struct rfkill *rfkill; | 680 | struct rfkill *rfkill; |
diff --git a/drivers/net/wireless/rt2x00/rt2x00dev.c b/drivers/net/wireless/rt2x00/rt2x00dev.c index f52e92512f90..d2c096708e8c 100644 --- a/drivers/net/wireless/rt2x00/rt2x00dev.c +++ b/drivers/net/wireless/rt2x00/rt2x00dev.c | |||
@@ -1194,10 +1194,6 @@ void rt2x00lib_remove_dev(struct rt2x00_dev *rt2x00dev) | |||
1194 | */ | 1194 | */ |
1195 | rt2x00debug_deregister(rt2x00dev); | 1195 | rt2x00debug_deregister(rt2x00dev); |
1196 | rt2x00rfkill_free(rt2x00dev); | 1196 | rt2x00rfkill_free(rt2x00dev); |
1197 | |||
1198 | /* | ||
1199 | * Free LED. | ||
1200 | */ | ||
1201 | rt2x00leds_unregister(rt2x00dev); | 1197 | rt2x00leds_unregister(rt2x00dev); |
1202 | 1198 | ||
1203 | /* | 1199 | /* |