diff mbox

iwlwifi: silence buffer overflow warning

Message ID 20100109084147.GB7840@bicker (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Dan Carpenter Jan. 9, 2010, 8:41 a.m. UTC
None
diff mbox

Patch

--- orig/drivers/net/wireless/iwlwifi/iwl-4965.c	2010-01-03 11:02:42.000000000 +0300
+++ devel/drivers/net/wireless/iwlwifi/iwl-4965.c	2010-01-06 00:27:00.000000000 +0300
@@ -1961,7 +1961,7 @@  static void iwl4965_rx_reply_tx(struct i
 	struct ieee80211_tx_info *info;
 	struct iwl4965_tx_resp *tx_resp = (void *)&pkt->u.raw[0];
 	u32  status = le32_to_cpu(tx_resp->u.status);
-	int tid = MAX_TID_COUNT;
+	int uninitialized_var(tid);
 	int sta_id;
 	int freed;
 	u8 *qc = NULL;