]> git.karo-electronics.de Git - linux-beck.git/commit
iwlwifi: avoid build warning in iwl-core.
authorRami Rosen <ramirose@gmail.com>
Sun, 24 May 2009 17:43:50 +0000 (20:43 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 3 Jun 2009 18:05:10 +0000 (14:05 -0400)
commitd651ae32789cabfb78bdd1f3467bf034ae267d68
treed3834d23d9a363f28bb1f78cbe6b09cb5157a5a7
parent8fc0fee09245fe740d81aded36f4af6db1054015
iwlwifi: avoid build warning in iwl-core.

When building when CONFIG_IWLWIFI_DEBUG is not set, we get the following
warning:
/work/src/w/drivers/net/wireless/iwlwifi/iwl-core.c: In function ‘iwl_isr’:
/work/src/w/drivers/net/wireless/iwlwifi/iwl-core.c:1707: warning:
unused variable ‘inta_fh’

This patch avoids this warning by adding #ifdef CONFIG_IWLWIFI_DEBUG
before the declaration of inta_fh in iwl_isr() in
drivers/net/wireless/iwlwifi/iwl-core.c

Signed-off-by: Rami Rosen <ramirose@gmail.com>
Acked-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-core.c