rt2x00: fixup some non-functional merge errors
authorJohn W. Linville <linville@tuxdriver.com>
Thu, 27 Mar 2008 23:54:13 +0000 (19:54 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 1 Apr 2008 21:13:17 +0000 (17:13 -0400)
These small changes restore the rt2x00 sources to the way Ivo intended.

Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2x00.h
drivers/net/wireless/rt2x00/rt2x00dev.c

index 333484ddb99396b28c15996569ddb6f80a421ae4..30f9f3afdaefc64e500b07185ffa3a1eec2db7da 100644 (file)
@@ -674,7 +674,7 @@ struct rt2x00_dev {
         * This will only be compiled in when required.
         */
 #ifdef CONFIG_RT2X00_LIB_RFKILL
-unsigned long rfkill_state;
+       unsigned long rfkill_state;
 #define RFKILL_STATE_ALLOCATED         1
 #define RFKILL_STATE_REGISTERED                2
        struct rfkill *rfkill;
index f52e92512f9079a970c7493e71e333c0041c6fd3..d2c096708e8c75630891a1ab9010101e05ee22fe 100644 (file)
@@ -1194,10 +1194,6 @@ void rt2x00lib_remove_dev(struct rt2x00_dev *rt2x00dev)
         */
        rt2x00debug_deregister(rt2x00dev);
        rt2x00rfkill_free(rt2x00dev);
-
-       /*
-        * Free LED.
-        */
        rt2x00leds_unregister(rt2x00dev);
 
        /*