--- zzzz-none-000/linux-3.10.107/drivers/net/wireless/ath/ath5k/attach.c 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/drivers/net/wireless/ath/ath5k/attach.c 2021-02-04 17:41:59.000000000 +0000 @@ -351,8 +351,7 @@ { __set_bit(ATH_STAT_INVALID, ah->status); - if (ah->ah_rf_banks != NULL) - kfree(ah->ah_rf_banks); + kfree(ah->ah_rf_banks); ath5k_eeprom_detach(ah);