ath9k: remove dangling error check on keycache reset on hw init
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Mon, 3 Aug 2009 19:24:55 +0000 (12:24 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 4 Aug 2009 20:44:33 +0000 (16:44 -0400)
commit2f69ffacb303bba274b126eabd3a3ed011b2d35d
tree8f8c209ebe490dff895ecc887ba99fe1516efa12
parent95fafca26dc317b7ea0667c57576b0b5389f5bef
ath9k: remove dangling error check on keycache reset on hw init

The keycache reset will not fail as right above we ensure
to set the sc->keymax to be <= ah->caps.keycache_size. Just remove
this dangling check.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/main.c