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 14:51:18 -0500
commit4e3bc141d480661634d0fadad7dbb1ddde70b4d4 (patch)
treef95f091b7c4a9a54dcb81def8256bced1ba2bbe7
parent6668e4eb5030af96d2bde366b8f6614b34b8c96c (diff)
downloadblackbird-op-linux-4e3bc141d480661634d0fadad7dbb1ddde70b4d4.tar.gz
blackbird-op-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
OpenPOWER on IntegriCloud