diff options
author | 2009-05-24 20:43:50 +0300 | |
---|---|---|
committer | 2009-06-03 14:05:10 -0400 | |
commit | d651ae32789cabfb78bdd1f3467bf034ae267d68 (patch) | |
tree | d3834d23d9a363f28bb1f78cbe6b09cb5157a5a7 /drivers/net/wireless/ath/ath9k/debug.h | |
parent | cfg80211: use key size constants (diff) | |
download | linux-dev-d651ae32789cabfb78bdd1f3467bf034ae267d68.tar.xz linux-dev-d651ae32789cabfb78bdd1f3467bf034ae267d68.zip |
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>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/debug.h')
0 files changed, 0 insertions, 0 deletions