From patchwork Mon Jan 10 22:30:18 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Seiderer X-Patchwork-Id: 531104 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 542CDC433EF for ; Mon, 10 Jan 2022 22:30:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345440AbiAJWae (ORCPT ); Mon, 10 Jan 2022 17:30:34 -0500 Received: from mout.gmx.net ([212.227.17.20]:48763 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345419AbiAJWad (ORCPT ); Mon, 10 Jan 2022 17:30:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1641853824; bh=0v4YvqADVAYjymB3HVw6Y10EaBdeYrxs5ug8qzWR6Qg=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=Sql3grBtskA4DwbZ8wOy8QlXOrsYADcf6l4rf/Se3PSgmOHnZ/wjNB8GKl5mzNrzL A3GhQLsMXdGl6hGVkqwB+loHAvDbk/QDTtcHFOawFdiA0aqYev32l+CZtpbqhqtkp2 2cyxJMnpHs3QloOmxBaIYgKwjYAGfCLtt4euQy9k= 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 1MSc1B-1mwMqM40V7-00St49; Mon, 10 Jan 2022 23:30:24 +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 2/5] ath5k: remove unused ah_txq_isr_qcburn member from struct ath5k_hw Date: Mon, 10 Jan 2022 23:30:18 +0100 Message-Id: <20220110223021.17655-2-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:3erQf5xbsLKf6pQyN6y96AR+2l2JqvlcvYy3sQSCCM4x5jdpeYc h73svbWvkbzqThogJSXp+Kkom7S57PNyLO6eO2mfV7Zhrx3EDaNUCGpv5FsG58gkwyvtmIV aGXSuy6pdeG6ldbbc+OV67ezRcjLeqZ/CPbFK6GPJdl8LpZuN+CW9wUrwpF02p7efIwTAEE sPXvlcDahR73dQUDam23w== X-UI-Out-Filterresults: notjunk:1;V03:K0:bVHFk1kJ6FA=:IKgbmY/PojXk7pyL3rD7Ns 6f6WVZxuoMpBu6MJNmkT/P0URYzLDkR63jn5fnDDcqV7wRavXXR5iwSlN/4+zC9FS4SRKX0tw eBiECQxMSUQFeiwtaFHapMXNrJYzO8tYCeRXZHYwidqqIb3IAdT9e0+g8cujMz/1LwhvfpL13 wIFowilSekOB6ivnQ2PwZ4Ta1Z93ajphoNGDLLn2NDtf6qDDaAHu4QWhoScf4dPS/S+yHO0An RffIIRTUizG/aikeoKrE8e0MfgJL5yHQRHO6EwKeuqlwg0Y8ocPK0FT0x9vYuIi3rmXq3seGf r8ogDUrISDshqYweYH0iKgYI5AwZwxcI164Z/v+01YBu0oA3H5Ap662iwfWdePRkmEv04jIPl yAKy606uINRudZkJtk6aGdkhrJH2492CFNaF7gqms6vk/7iw9S+JrPRbvEKEQ/eQx9H5wGYPT JTX/5ymkwpbByyP2ckbuHJii8z7vkzvBronj/gin3P4PIaVHBY3ukiPeYKcZuZPibS3g1W1Xr SotLelaagnxhcQbfj6EdQ2AoB+lhzNnQ1IkfbjHciM5U3cEOq4VfY3sYBUwEG4+HzMHv/reUD ZgHPeS5zN5cinBayghXhVVlvGngS6FQa2Uat+TmbloEL0sVz4szI0H/nTDrtjzTkduRQzYm9e lGue1iE5XDX6tiLzwvPVBtURpR8mW4Xnumj3WxiDyoTLLopiR5jZkinXvyRIHMzNSvCD9p1SL nAurY839OcsNNJ1Pcg5go7ZTSMiXDEzpYK4GsUHK2BBdStQ2B/Pvq9ysHdMMCmYlDLoppeBA0 hgrZ0XWRMXngopLS63SGQIL+wk7xtejtQIUys9TatLHUnueR1m/8Tm0tGKGUos5tJ8v6AXshp wQx9MZc9Aj67qSDBuqocc7leup99dBYbUjljbVDk/6lUWyFFR7wy31Lkl/Y0eR6hFSqghDx2M 5fBFbzFsh3UY0QL+pd3HGe3C2+fk1v1dm7AvueUnZ+ItZr9GosuRAEsKBL9XjMxdZ2V6VPFdB rpj/YC4FIQu+0hxIm7lAtoA8JpR8u0h0jCK+w7RMKWm5bgMCCGcmRYW0PKypHAIVp1/Acy0WB hHIeAyT/uIxTss= Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Remove unused ah_txq_isr_qcburn 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 | 5 +---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/net/wireless/ath/ath5k/ath5k.h b/drivers/net/wireless/ath/ath5k/ath5k.h index db6ba433c05d..72ba36a04837 100644 --- a/drivers/net/wireless/ath/ath5k/ath5k.h +++ b/drivers/net/wireless/ath/ath5k/ath5k.h @@ -1397,7 +1397,6 @@ struct ath5k_hw { u32 ah_txq_isr_txok_all; u32 ah_txq_isr_txurn; u32 ah_txq_isr_qcborn; - u32 ah_txq_isr_qcburn; 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 78b87372da95..faea3262368f 100644 --- a/drivers/net/wireless/ath/ath5k/dma.c +++ b/drivers/net/wireless/ath/ath5k/dma.c @@ -716,11 +716,8 @@ ath5k_hw_get_isr(struct ath5k_hw *ah, enum ath5k_int *interrupt_mask) } /* A queue got CBR underrun */ - if (unlikely(pisr & (AR5K_ISR_QCBRURN))) { + if (unlikely(pisr & (AR5K_ISR_QCBRURN))) *interrupt_mask |= AR5K_INT_QCBRURN; - ah->ah_txq_isr_qcburn |= AR5K_REG_MS(sisr3, - AR5K_SISR3_QCBRURN); - } /* A queue got triggered */ if (unlikely(pisr & (AR5K_ISR_QTRIG))) From patchwork Mon Jan 10 22:30:19 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Seiderer X-Patchwork-Id: 531103 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 DD5CDC43219 for ; Mon, 10 Jan 2022 22:30:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345452AbiAJWaf (ORCPT ); Mon, 10 Jan 2022 17:30:35 -0500 Received: from mout.gmx.net ([212.227.17.22]:57173 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345431AbiAJWad (ORCPT ); Mon, 10 Jan 2022 17:30:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1641853824; bh=k/tTrIjFeCXvZqfaQTrSCH6RUwILOWRvkqA3YG0MfJ0=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=RuY58ohDZI4IPDoL4HnzP+grczAjb5/IZBdJ7qHyT3A/4GAOpxLQOZP3N/DtfCw0d 0+qMkQM2pRSmdbBNV3Ues+UtzvORif4SDhlAWynaBRltZefHigbCGf58zKOpMhThtS 3VxN7+m0qPVN1zPgAdRIS0j+IrlldIygyEXbaD3Y= 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 1Mqs4f-1mcKwb1yJl-00mtqn; Mon, 10 Jan 2022 23:30:24 +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 3/5] ath5k: remove unused ah_txq_isr_qcborn member from struct ath5k_hw Date: Mon, 10 Jan 2022 23:30:19 +0100 Message-Id: <20220110223021.17655-3-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:BDrmtIihdsTJpnywmYDxM9n1+px3iDoKOC1yRzRM2G0W3e3Bbgm /xgn7kL0NSXNIf64qiHCrg2XML7aKNSB4FKLZpiHdscygxsQkKsid6tXRq9Ocb8Xo93aXEo 1rwWEr0eZDjwMOsV3RuH0t2U7KwIQ8CjKbJBZ0aa7BJhZeloLast5DgKT/hsc+x7LhgtHeM XsOjDOrA697sGkTcGBcmw== X-UI-Out-Filterresults: notjunk:1;V03:K0:zplG+idIBZE=:+ccWOgDgT3zGeogJ2W5sxp dwXbIa2VF3mrs3iBy/8tpVpxGTMQYBMj6+66R6GziCJvETAEa0joxBQjbbqV01yzPgS32upub XFMSwqifOUb9pHR9QN1uhD4/JEXULi5YjIs2w6vdCPMrmQSaW9yTPJGceoEudChUUue4W0K7k aT7VoUJWD3MXcn7rrhcOVDnpXavRU8jnNHNIGOXijsIbG9sjN1RDLO4emA1zU2xxn4/Vo+WRt +p97zlY/4t+wYb02oo4B8zfdgvehLwR3w8njviKCPn90jkLRGYqeKbd3QNUpYbG6tDqELHOVX hsLuo0L0JxDOhjesSHnuHb95GOXUoc0ngr/IcasjXGAtSJj/7wipbfv3pCG+TT9XuFbi+qKy+ fdtlGH+qf0by/Olh3glsv9ML79hBPcHDIsEkBB/rrEQ/vQ+KHDOarL9xDVisp8HRkpdE5/ESV SVIJONnz1GfkLBNwxDGgpspXXacpNJGAqkDKEiGChPmfYO23+pa03Uuv18Vrw80jrCRJBQX8D YMvLgr2oJdUMNM4JAOd+w+CBhCeZwdn3MrHZoNQ/lyJBR5mnrsVY/2uJkwZysE2oWlKZnNOWA TF6KYUcosuDci810SPStmf6DnG8WobpxmZ49f3bfBY58vHuSGLR2QE+X4z/HrC0oOnSOylmVE vjCpyXvLco1ieY82GmzSAv83h/E75dO5J77QNYNsHUnpmeNCfZ5tozBAioooMLevXAqRiBZVX rCdNfqEF5D+Q/QzcoCI3e0Sv2gUgqHhZLKyCj72zSEdyyAUkvbUCcVGQPoUb6/O+heEkhDFFm 5WRjSipT6uHge3fEWTpNa+NTNgKwbKeKGDJcM/rbXFoMDtSEjHEmT3cB8hLRV/gIuWVIX23au YMIt+aFSBcZP4mss4GMo3HzXb8m3M4W24tKXkI1YBfR75luqymclAMlVl4nyl+TsFgqWxDFz3 iaTTzd+u8hy3mmdGCH0pAHMiOv5fvXw6A2vTgp5bwtrSqIA2P6te8Ksci7HeONUYEEpaF3Btz puT80G0CX3QaB1Xkf817yK+btz/fFOY/YD2k+bIh4fHOawo88qpF7zdzTgWxh0OHRQ9luOjRS 1HDCKt9XWSKfQQ= Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Remove unused ah_txq_isr_qcborn 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 | 5 +---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/net/wireless/ath/ath5k/ath5k.h b/drivers/net/wireless/ath/ath5k/ath5k.h index 72ba36a04837..ac3211b1eb0c 100644 --- a/drivers/net/wireless/ath/ath5k/ath5k.h +++ b/drivers/net/wireless/ath/ath5k/ath5k.h @@ -1396,7 +1396,6 @@ struct ath5k_hw { u32 ah_txq_isr_txok_all; u32 ah_txq_isr_txurn; - u32 ah_txq_isr_qcborn; 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 faea3262368f..0ee46f8118bb 100644 --- a/drivers/net/wireless/ath/ath5k/dma.c +++ b/drivers/net/wireless/ath/ath5k/dma.c @@ -709,11 +709,8 @@ ath5k_hw_get_isr(struct ath5k_hw *ah, enum ath5k_int *interrupt_mask) *interrupt_mask |= AR5K_INT_BNR; /* A queue got CBR overrun */ - if (unlikely(pisr & (AR5K_ISR_QCBRORN))) { + if (unlikely(pisr & (AR5K_ISR_QCBRORN))) *interrupt_mask |= AR5K_INT_QCBRORN; - ah->ah_txq_isr_qcborn |= AR5K_REG_MS(sisr3, - AR5K_SISR3_QCBRORN); - } /* A queue got CBR underrun */ if (unlikely(pisr & (AR5K_ISR_QCBRURN))) 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 WfzamsdgUwCqR0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sI43r/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 */