Skip to content

Commit

Permalink
ath9k: remove useless conditional
Browse files Browse the repository at this point in the history
ath9k_hw_keyreset returns true in either branch.

Signed-off-by: Bob Copeland <me@bobcopeland.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Bob Copeland authored and John W. Linville committed Oct 31, 2008
1 parent 4fb3078 commit 9371dd6
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/net/wireless/ath9k/hw.c
Original file line number Diff line number Diff line change
Expand Up @@ -7193,9 +7193,6 @@ bool ath9k_hw_keyreset(struct ath_hal *ah, u16 entry)

}

if (ah->ah_curchan == NULL)
return true;

return true;
}

Expand Down

0 comments on commit 9371dd6

Please sign in to comment.