From patchwork Mon Jan 10 22:30:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Seiderer X-Patchwork-Id: 531102 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7DB97C433EF for ; Mon, 10 Jan 2022 22:30:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345444AbiAJWap (ORCPT ); Mon, 10 Jan 2022 17:30:45 -0500 Received: from mout.gmx.net ([212.227.17.21]:37767 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345434AbiAJWae (ORCPT ); Mon, 10 Jan 2022 17:30:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1641853825; bh=+BEMjZgHov6GI+pbRQ/61AK7GFOe1ZiB6QyOW7gVx9Y=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=Dm92lJlco/v679Qp3Y0gIY74qDzvxTY+8cXYrHfhVSDesK22DxlOKyKLSFE+mWX2P vuSAGUQ+rPqFQa1wtETISXV0J9Md7IinaZWCTKl4OI1hWhSh6TOvTvbb4FoChov96z ThLerCFKzh0qvPkxMUm082quuIzguGu4bfD7oXsk= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from localhost.fritz.box ([62.216.209.151]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MkYXm-1mdjzD04hq-00m3yc; Mon, 10 Jan 2022 23:30:25 +0100 From: Peter Seiderer To: linux-wireless@vger.kernel.org Cc: Jiri Slaby , Nick Kossifidis , Luis Chamberlain , Kalle Valo , "David S . Miller" , Jakub Kicinski , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 4/5] ath5k: remove unused ah_txq_isr_txurn member from struct ath5k_hw Date: Mon, 10 Jan 2022 23:30:20 +0100 Message-Id: <20220110223021.17655-4-ps.report@gmx.net> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220110223021.17655-1-ps.report@gmx.net> References: <20220110223021.17655-1-ps.report@gmx.net> MIME-Version: 1.0 X-Provags-ID: V03:K1:KQ19AMCrNOiO4RXxL9JHJN9emp9Al1pNhGS32fQHrDEywqhyOoR fB6QC0cnLpZxVzku75NnBIf2Y5fs5ZOv7ljHmUaIAuDwJbm0HsTZD28IsztP3rmOQdzOgi5 WfzamsdgUwCqR0EDRepXgyzUYNs2CGcgA0Yj5sa88xAH09FrYuR+fhrZOmxKy86ILYaYroQ 93h+mXhgd4kYV8PmsiGiw== X-UI-Out-Filterresults: notjunk:1;V03:K0:Yf91gQZTrgQ=:rIznZJItYOCDika25WmZ5Z mWZnh/LZdI9EvRfSwUiQsCrH/BxDJ4Dh8q+pBEBD90+fKwfMJvA4c9wUefslqhly49Nw78p9x 5sMSym1Hr3ToHrDTlX/WN/FiDiD0ORsNsAHnDTG6GsvzYrQp/qUuiKSfr0U/86sip1jyEJWHC 4zbbrA+r09zzd1QQ/IrPAV0c7HtuIi6KWFujbDZ1u9iijA90Nz8fHPJ9cx3nfQ1vlE5t6NS8X lw20SfMDRhHDaO+Tf1Gfnycmi21Gy+zvFA1j3nXFNSTVZN0PHmSp6pSRh028WikKiatAi1U9c EjmsU/TyYgtN0K8DRSnDSIxb70mbVS2OG+oZn13vm9s4EJqPjiJ9CX0TGVqBp0Ho1rKAvizxe jRy0Zzbkn21bWTts/2cmSviAI5hJ7lLZt7Q2CPVPZm7lFkhz5Nj7LYeXNKUw2XKRc25EaTGJb /yo5IjyT3Zwgy3KLbyNnHnbegayzBHKZRHB4qEJMdDoC4JsTz/1blYZ5cAI/vnFzGkLDWqlPC pd2aS+utiji5/kbFpUcT8yBggFbOV/dJgjhNbOJhk/lGLfuon++V6wN5MyWXnlLdgrNENeX6p 8P31xXmQvMuA1o1dBNJc7z5vqZSaVlLlX1lFp2FivcG3SQbdJktGdnFmYCIcIsZRsw7Kh4EaK zXVkGH6wqiOULU+LweL8005iHY+Ge2g/NDKnR50CwMffPcUP679RVcl1f1yLByqWK8h7sJkxw UurENvKckkiaAoCg2pC8p5/HmdFFhm5rNsOvk16M3C05N1MA9PTM6lFPIWLtENjGQ0lj1ouE4 iFduqPfUqVWJ8KhkgEcQMIiMhAv3LgwB/bvBy0UZkYgySpLBX0hrYznHSnOud3A1z05E33/c9 Y9VRY1TiMBC9tPS7GEccSVKHH/g3Gl6VRRWw3X3/XQsI43r/6pkHsgq0wjCuDyP07LvZzGu3l OIFpXlbMJGzOqR+CD5B1GHxvo49bcQ9fngKguF2I+CpNladss/z+xwCJC1/f+JbKxm3J6UNIZ 3T8yKqtrYp1eUoxaGhWDADlfsCblx2A4N3hHFuxv/8q/XH+rpMF71LsH05rD7nZYMnIAnHWes dibVg9vg49qzMo= Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Remove unused ah_txq_isr_txurn member from struct ath5k_hw (set in ath5k_hw_get_isr() but never used anywhere). Signed-off-by: Peter Seiderer --- drivers/net/wireless/ath/ath5k/ath5k.h | 1 - drivers/net/wireless/ath/ath5k/dma.c | 7 ------- 2 files changed, 8 deletions(-) diff --git a/drivers/net/wireless/ath/ath5k/ath5k.h b/drivers/net/wireless/ath/ath5k/ath5k.h index ac3211b1eb0c..f595204f493d 100644 --- a/drivers/net/wireless/ath/ath5k/ath5k.h +++ b/drivers/net/wireless/ath/ath5k/ath5k.h @@ -1395,7 +1395,6 @@ struct ath5k_hw { u32 ah_txq_imr_nofrm; u32 ah_txq_isr_txok_all; - u32 ah_txq_isr_txurn; u32 *ah_rf_banks; size_t ah_rf_banks_size; diff --git a/drivers/net/wireless/ath/ath5k/dma.c b/drivers/net/wireless/ath/ath5k/dma.c index 0ee46f8118bb..2b135a6284a0 100644 --- a/drivers/net/wireless/ath/ath5k/dma.c +++ b/drivers/net/wireless/ath/ath5k/dma.c @@ -670,13 +670,6 @@ ath5k_hw_get_isr(struct ath5k_hw *ah, enum ath5k_int *interrupt_mask) ah->ah_txq_isr_txok_all |= AR5K_REG_MS(sisr1, AR5K_SISR1_QCU_TXEOL); - /* Currently this is not much useful since we treat - * all queues the same way if we get a TXURN (update - * tx trigger level) but we might need it later on*/ - if (pisr & AR5K_ISR_TXURN) - ah->ah_txq_isr_txurn |= AR5K_REG_MS(sisr2, - AR5K_SISR2_QCU_TXURN); - /* Misc Beacon related interrupts */ /* For AR5211 */