iwlegacy: remove il_is_rfkill_hw
authorStanislaw Gruszka <sgruszka@redhat.com>
Mon, 13 Feb 2012 10:23:31 +0000 (11:23 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 22 Feb 2012 19:51:18 +0000 (14:51 -0500)
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlegacy/common.h

index cee72f1523f71d7c8c1a200172ce3dc5db9e9bf1..6ed9871f1c4b77aa6606eb44d6134756069fc2ca 100644 (file)
@@ -1944,16 +1944,10 @@ il_is_init(struct il_priv *il)
        return test_bit(S_INIT, &il->status);
 }
 
-static inline int
-il_is_rfkill_hw(struct il_priv *il)
-{
-       return test_bit(S_RFKILL, &il->status);
-}
-
 static inline int
 il_is_rfkill(struct il_priv *il)
 {
-       return il_is_rfkill_hw(il);
+       return test_bit(S_RFKILL, &il->status);
 }
 
 static inline int