diff options
author | Stanislaw Gruszka <sgruszka@redhat.com> | 2012-02-13 10:23:31 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-02-22 19:51:18 (GMT) |
commit | 4e3bc141d480661634d0fadad7dbb1ddde70b4d4 (patch) | |
tree | f95f091b7c4a9a54dcb81def8256bced1ba2bbe7 /drivers/net/wireless/iwlegacy | |
parent | 6668e4eb5030af96d2bde366b8f6614b34b8c96c (diff) | |
download | linux-4e3bc141d480661634d0fadad7dbb1ddde70b4d4.tar.xz |
iwlegacy: remove il_is_rfkill_hw
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlegacy')
-rw-r--r-- | drivers/net/wireless/iwlegacy/common.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/net/wireless/iwlegacy/common.h b/drivers/net/wireless/iwlegacy/common.h index cee72f1..6ed9871 100644 --- a/drivers/net/wireless/iwlegacy/common.h +++ b/drivers/net/wireless/iwlegacy/common.h @@ -1945,15 +1945,9 @@ il_is_init(struct il_priv *il) } 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 |