ath9k: remove unnecessary code
authorGustavo A. R. Silva <garsilva@embeddedor.com>
Tue, 9 May 2017 13:04:30 +0000 (08:04 -0500)
committerKalle Valo <kvalo@qca.qualcomm.com>
Fri, 19 May 2017 07:57:55 +0000 (10:57 +0300)
commit641c1f4ab7f62278a3a08c0861725ba21a53e5d5
treefd7550c7f877ddbc121a8799395fe7df9ba01233
parent9a49290919e1787ced66dcca055712338a9ee888
ath9k: remove unnecessary code

The array field eeprom_data in struct th9k_platform_data
is a fixed size array so it can never be NULL.

Addresses-Coverity-ID: 1364903
Cc: Arend Van Spriel <arend.vanspriel@broadcom.com>
Cc: Kalle Valo <kvalo@qca.qualcomm.com>
Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath9k/eeprom.c