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: 12709212 X-Patchwork-Delegate: kvalo@adurom.com 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)))