From: Kalle Valo Date: Tue, 31 Jan 2012 19:26:22 +0000 (+0200) Subject: ath6kl: fix compiler warning in ath6kl_init_hw_params() X-Git-Tag: v3.4-rc1~177^2~112^2~357^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b46dc04866a4962644ef32d7398e34b40f7ac21;p=pandora-kernel.git ath6kl: fix compiler warning in ath6kl_init_hw_params() Both Luis and John reported that they see a compiler warning: drivers/net/wireless/ath/ath6kl/init.c: In function 'ath6kl_init_hw_params': drivers/net/wireless/ath/ath6kl/init.c:1377:26: warning: ‘hw’ may be used uninitialized in this function Oddly enough I have never seen it. But AFAICT the code is correct and hw is not used uninitalized so add uninitialized_var() to inform that to the compiler. Reported-by: Luis R. Rodriguez Reported-by: John W. Linville Signed-off-by: Kalle Valo --- Reading git-diff-tree failed