From: Stanislaw Gruszka Date: Mon, 13 Feb 2012 10:23:31 +0000 (+0100) Subject: iwlegacy: remove il_is_rfkill_hw X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=4e3bc141d480661634d0fadad7dbb1ddde70b4d4;p=openwrt%2Fstaging%2Fblogic.git iwlegacy: remove il_is_rfkill_hw Signed-off-by: Stanislaw Gruszka Signed-off-by: John W. Linville --- 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 @@ -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