Commit d651ae32 authored by Rami Rosen's avatar Rami Rosen Committed by John W. Linville
Browse files

iwlwifi: avoid build warning in iwl-core.

When building when CONFIG_IWLWIFI_DEBUG is not set, we get the following
/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
Signed-off-by: default avatarRami Rosen <>
Acked-by: default avatarReinette Chatre <>
Signed-off-by: default avatarJohn W. Linville <>
parent 8fc0fee0
......@@ -1704,8 +1704,9 @@ static irqreturn_t iwl_isr(int irq, void *data)
struct iwl_priv *priv = data;
u32 inta, inta_mask;
u32 inta_fh;
if (!priv)
return IRQ_NONE;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment