]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: fix unused variable warning
authorOliver Hartkopp <socketcan@hartkopp.net>
Sun, 25 Mar 2012 06:43:24 +0000 (08:43 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 10 Apr 2012 18:54:02 +0000 (14:54 -0400)
commit73d396e387d9753831a7cde5befb99eb6c170096
treeb3dbb1b90939ae45ca1555ff864a43d9315fc674
parent64388831869eed65f68beca76815601a79b54a39
iwlwifi: fix unused variable warning

In the case of disabled CONFIG_IWLWIFI_DEBUGFS option the compiler complains
about the unused variable 'img'. Fix this by moving the 'img' definition.

Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
Acked-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-mac80211.c