Return-path: Received: from mail.atheros.com ([12.36.123.2]:44860 "EHLO mail.atheros.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756111AbZIRJga (ORCPT ); Fri, 18 Sep 2009 05:36:30 -0400 Received: from mail.atheros.com ([10.10.20.105]) by sidewinder.atheros.com for ; Fri, 18 Sep 2009 02:36:35 -0700 From: Sujith MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Message-ID: <19123.21669.322032.143952@gargle.gargle.HOWL> Date: Fri, 18 Sep 2009 15:06:37 +0530 To: CC: Subject: [PATCH 6/9] ath9k: Handle ATH9K_BEACON_RESET_TSF properly Sender: linux-wireless-owner@vger.kernel.org List-ID: From: Senthil Balasubramanian Clearing a local variable is unnecessary. Get rid of it. Signed-off-by: Senthil Balasubramanian --- drivers/net/wireless/ath/ath9k/hw.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c index 96ea5cc..a347b40 100644 --- a/drivers/net/wireless/ath/ath9k/hw.c +++ b/drivers/net/wireless/ath/ath9k/hw.c @@ -3422,7 +3422,6 @@ void ath9k_hw_beaconinit(struct ath_hw *ah, u32 next_beacon, u32 beacon_period) beacon_period &= ~ATH9K_BEACON_ENA; if (beacon_period & ATH9K_BEACON_RESET_TSF) { - beacon_period &= ~ATH9K_BEACON_RESET_TSF; ath9k_hw_reset_tsf(ah); } -- 1.6.4.4