Skip to content

Commit

Permalink
iwlegacy: remove il_is_rfkill_hw
Browse files Browse the repository at this point in the history
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Stanislaw Gruszka authored and John W. Linville committed Feb 22, 2012
1 parent 6668e4e commit 4e3bc14
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions drivers/net/wireless/iwlegacy/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4e3bc14

Please sign in to comment.