ath9k: remove !NULL check before kfree()
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Mon, 3 Aug 2009 19:24:48 +0000 (12:24 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 4 Aug 2009 20:44:31 +0000 (16:44 -0400)
commit39a21951efc99e040a7d66449f63910e439b97e9
tree256a745adfe0472fc6cca32fed48ebec3800cecd
parent1e40bcfa91429edb665af9ffefb2658350913d35
ath9k: remove !NULL check before kfree()

kfree(NULL) works so remove all those branches which check
for it before kfree()'ing on ath9k_hw_rfdetach().

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