iwlegacy: remove il_is_rfkill_hw
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
committed by
John W. Linville
parent
6668e4eb50
commit
4e3bc141d4
@@ -1944,16 +1944,10 @@ il_is_init(struct il_priv *il)
|
|||||||
return test_bit(S_INIT, &il->status);
|
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
|
static inline int
|
||||||
il_is_rfkill(struct il_priv *il)
|
il_is_rfkill(struct il_priv *il)
|
||||||
{
|
{
|
||||||
return il_is_rfkill_hw(il);
|
return test_bit(S_RFKILL, &il->status);
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline int
|
static inline int
|
||||||
|
Reference in New Issue
Block a user