From: Stanislaw Gruszka Date: Mon, 13 Feb 2012 10:23:31 +0000 (+0100) Subject: iwlegacy: remove il_is_rfkill_hw X-Git-Tag: v3.4-rc1~177^2~108^2~306 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4e3bc141d480661634d0fadad7dbb1ddde70b4d4;p=platform%2Fkernel%2Flinux-3.10.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 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