From patchwork Fri Feb 25 12:01:03 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vivek Natarajan X-Patchwork-Id: 589911 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p1PC1MqI023471 for ; Fri, 25 Feb 2011 12:01:23 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755020Ab1BYMBV (ORCPT ); Fri, 25 Feb 2011 07:01:21 -0500 Received: from mail.atheros.com ([12.19.149.2]:58244 "EHLO mail.atheros.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753064Ab1BYMBU convert rfc822-to-8bit (ORCPT ); Fri, 25 Feb 2011 07:01:20 -0500 Received: from mail.atheros.com ([10.10.20.105]) by sidewinder.atheros.com for ; Fri, 25 Feb 2011 04:00:59 -0800 Received: from smtp.atheros.com (10.12.4.8) by SC1EXHC-01.global.atheros.com (10.10.20.111) with Microsoft SMTP Server (TLS) id 8.2.213.0; Fri, 25 Feb 2011 04:01:19 -0800 Received: by smtp.atheros.com (sSMTP sendmail emulation); Fri, 25 Feb 2011 17:31:15 +0530 From: Vivek Natarajan To: CC: Subject: [PATCH 3/3] ath9k: Fix compilation warning. Date: Fri, 25 Feb 2011 17:31:03 +0530 Message-ID: <1298635263-4883-3-git-send-email-vnatarajan@atheros.com> X-Mailer: git-send-email 1.6.3.3 In-Reply-To: <1298635263-4883-2-git-send-email-vnatarajan@atheros.com> References: <1298635263-4883-1-git-send-email-vnatarajan@atheros.com> <1298635263-4883-2-git-send-email-vnatarajan@atheros.com> MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Fri, 25 Feb 2011 12:01:23 +0000 (UTC) diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c index 9b03b5a..238fb76 100644 --- a/drivers/net/wireless/ath/ath9k/main.c +++ b/drivers/net/wireless/ath/ath9k/main.c @@ -2135,7 +2135,7 @@ static void ath9k_flush(struct ieee80211_hw *hw, bool drop) { #define ATH_FLUSH_TIMEOUT 60 /* ms */ struct ath_softc *sc = hw->priv; - struct ath_txq *txq; + struct ath_txq *txq = NULL; struct ath_hw *ah = sc->sc_ah; struct ath_common *common = ath9k_hw_common(ah); int i, j, npend = 0;