From patchwork Thu May 9 17:02:49 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Miles Hu X-Patchwork-Id: 10937355 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id F4102912 for ; Thu, 9 May 2019 17:03:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DE5FB287FE for ; Thu, 9 May 2019 17:03:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D289028A19; Thu, 9 May 2019 17:03:06 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 72D7A287FE for ; Thu, 9 May 2019 17:03:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=O4uzkv5M+KGGEkngKEwCtD6O/cGDUbvvXGRqXq2YpB0=; b=cX2 p0w6mpzHX86NoipCPtxuWsGne2JnsmX3Dheg0aP4ccOWWNascoAvi82gS+Ax/srvtI69ewKRdHoA/ 9CbGA6/IMbxLVnFeFUAd0c6p2U394UP7o+bq552kebo9UbClvDcaylu6D8WJDItbKw+XZegOYJwF8 OW95ZVYfh97jMP0N6MaPSoRLN4QsLMjyoS3G7z2kJgv4ZEbBB7QDsbyLrRywgiAv52K5taNg0YzoR Lc0sULVlEw8Ld1D7zrYilvdcNEDeXgcEISEtESQ+NOYUrwb4JA2LPOt4ga4yCJdTkGM+AUZ82TG0v bS/hB/e/mOO4j/XRQELYk8yo0gPLy4A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hOmRl-0000x9-21; Thu, 09 May 2019 17:03:05 +0000 Received: from smtp.codeaurora.org ([198.145.29.96]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hOmRi-0000wm-47 for ath11k@lists.infradead.org; Thu, 09 May 2019 17:03:03 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 5A77A607B9; Thu, 9 May 2019 17:03:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1557421381; bh=oyisebr/37N7oYMw+a6+/tkHKonmig1s/DfwFa84Z3Q=; h=From:To:Cc:Subject:Date:From; b=ADGFhdwlT+aPvYcMlANSfgVcqmyOQDPz+EymUu3/EQUdX5W7OHp9WNAjn22NInes+ vug7n7kxxizn3DxLZZHsdRDMNZjCvevWRBV6TvU3vjYf8zSHgljM37xljPq+o8HR+n nL1LWZ3pmGcFCGW1cMlHF+akszDFEvm8uboTzTes= Received: from smtp.codeaurora.org (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: milehu@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 85943607EB; Thu, 9 May 2019 17:02:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1557421381; bh=oyisebr/37N7oYMw+a6+/tkHKonmig1s/DfwFa84Z3Q=; h=From:To:Cc:Subject:Date:From; b=ADGFhdwlT+aPvYcMlANSfgVcqmyOQDPz+EymUu3/EQUdX5W7OHp9WNAjn22NInes+ vug7n7kxxizn3DxLZZHsdRDMNZjCvevWRBV6TvU3vjYf8zSHgljM37xljPq+o8HR+n nL1LWZ3pmGcFCGW1cMlHF+akszDFEvm8uboTzTes= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 85943607EB Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=milehu@codeaurora.org Received: by smtp.codeaurora.org (sSMTP sendmail emulation); Thu, 09 May 2019 10:02:55 -0700 From: Miles Hu To: ath11k@lists.infradead.org Subject: [PATCH] ath11k: fix compile warning in dp_tx.c Date: Thu, 9 May 2019 10:02:49 -0700 Message-Id: <1557421369-6676-1-git-send-email-milehu@codeaurora.org> X-Mailer: git-send-email 2.7.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190509_100302_185833_18E0DCEC X-CRM114-Status: UNSURE ( 9.82 ) X-CRM114-Notice: Please train this message. X-BeenThere: ath11k@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Miles Hu MIME-Version: 1.0 Sender: "ath11k" Errors-To: ath11k-bounces+patchwork-ath11k=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Remove lmac_ring_id_offset variable declaration to eliminate warning below: drivers/net/wireless/ath/ath11k/dp_tx.c: In function 'ath11k_dp_htt_srng_setup': drivers/net/wireless/ath/ath11k/dp_tx.c:615:6: warning: unused variable 'lmac_ring_id_offset' [-Wunused-variable] Signed-off-by: Miles Hu --- drivers/net/wireless/ath/ath11k/dp_tx.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath11k/dp_tx.c b/drivers/net/wireless/ath/ath11k/dp_tx.c index 624e4e9..55a19a0 100644 --- a/drivers/net/wireless/ath/ath11k/dp_tx.c +++ b/drivers/net/wireless/ath/ath11k/dp_tx.c @@ -612,7 +612,6 @@ int ath11k_dp_htt_srng_setup(struct ath11k_base *ab, u32 ring_id, u32 ring_entry_sz; int len = sizeof(*cmd); dma_addr_t hp_addr, tp_addr; - int lmac_ring_id_offset; enum htt_srng_ring_type htt_ring_type; enum htt_srng_ring_id htt_ring_id; int ret = 0;