summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStanislaw Gruszka <sgruszka@redhat.com>2012-02-13 11:23:31 +0100
committerJohn W. Linville <linville@tuxdriver.com>2012-02-22 20:51:18 +0100
commit4e3bc141d480661634d0fadad7dbb1ddde70b4d4 (patch)
treef95f091b7c4a9a54dcb81def8256bced1ba2bbe7
parentiwlegacy: s/il_txq_mem/il_free_txq_mem/g (diff)
downloadlinux-4e3bc141d480661634d0fadad7dbb1ddde70b4d4.tar.xz
linux-4e3bc141d480661634d0fadad7dbb1ddde70b4d4.zip
iwlegacy: remove il_is_rfkill_hw
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r--drivers/net/wireless/iwlegacy/common.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/net/wireless/iwlegacy/common.h b/drivers/net/wireless/iwlegacy/common.h
index cee72f1523f7..6ed9871f1c4b 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