Search Linux Wireless

[PATCH] iwlwifi: fix gcc warning when CONFIG_IWLWIFI_DEBUG is not defined

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Zhu Yi <yi.zhu@xxxxxxxxx>
---
 origin/iwl-base.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/origin/iwl-base.c b/origin/iwl-base.c
index 15965fc..b8293fe 100644
--- a/drivers/net/wireless/iwl-base.c
+++ b/drivers/net/wireless/iwl-base.c
@@ -5107,9 +5107,12 @@ static void iwl_error_recovery(struct iwl_priv *priv)
 
 static void iwl_irq_tasklet(struct iwl_priv *priv)
 {
-	u32 inta, inta_mask, handled = 0;
+	u32 inta, handled = 0;
 	u32 inta_fh;
 	unsigned long flags;
+#ifdef CONFIG_IWLWIFI_DEBUG
+	u32 inta_mask;
+#endif
 
 	spin_lock_irqsave(&priv->lock, flags);
 
-- 
1.5.2
-
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux