]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: move duplicated debug message to 'ath9k_hw_nvram_read'
authorGabor Juhos <juhosg@openwrt.org>
Mon, 10 Dec 2012 14:30:25 +0000 (15:30 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 10 Dec 2012 20:49:54 +0000 (15:49 -0500)
commita82878aaf3362a195f93f60e0062214e5dffbec7
tree1a0bf2637383c55b616de415f227d24660108ae1
parentc44bd8332f41a52e09dd9454f62b8c1f28a1aef2
ath9k: move duplicated debug message to 'ath9k_hw_nvram_read'

The fill_eeprom functions are printing the same
debug message in case the 'ath9k_hw_nvram_read'
function fails. Remove the duplicated code from
fill_eeprom functions and add the ath_dbg call
directly into 'ath9k_hw_nvram_read'.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/eeprom.c
drivers/net/wireless/ath/ath9k/eeprom_4k.c
drivers/net/wireless/ath/ath9k/eeprom_9287.c
drivers/net/wireless/ath/ath9k/eeprom_def.c