Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp5726664ybp; Tue, 8 Oct 2019 07:26:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqw8HAwmz0LT1T/1cllkshb4YV3NPVvX4O1wDAYBP7y/eemj1wYUtaItLpJeke5uc83x2l8Y X-Received: by 2002:a17:906:4d8d:: with SMTP id s13mr29234822eju.5.1570544764603; Tue, 08 Oct 2019 07:26:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570544764; cv=none; d=google.com; s=arc-20160816; b=jGQoRJ/pj6SeQyaGS4z06v6ZDisfFWD+bF0dcPEPeVrXly9+YgauPmwTyUfPfnvbal 8h2FKi9ayCi++ZTQG5hGnyQDBeqAq15os+gQUygO+x3YZ1M1Ctbl+kNWmq+Fs76+QbLD FLoRn+oXvBnnzS8V87pPxxF19lAhcqDISl0+qjTC9btzsba3G4qK9aeg+P7UBWYliUUb 3Eiq7SR1eH8C9ArvgczMpH6yTdMTqhzkzXxMI9IkNq/8XkzCwOYix5qmJPzkvPGHrvVl CxZJjMqEapxjNIE+MWeP/eylkHvIxyp62Yr83d8SjjIbpXZlXWPLKBnr/eIMUMyysBSJ yb5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:dmarc-filter :dkim-signature:dkim-signature; bh=KxTNVbI3myR+NXl1Izho4uNOo15U++JdwDl3pWuy6L8=; b=vXqsewwBcz11qU138/3LWh3ocJzRYWfd2zkRvgCZT4ELqDbv80QC9gg9jmPgBHDs5i ptPmIsqU00kWPQqC+mWgVDsB6i6WOfflt/BjgTq2zsp5M1i+aQ1hcVuiywjmoUrgDmWT 6ctnOrb5Wn9wBMkV0jg8DmmXq3EOo3aOHXESm3WMggD9kTPnpfyYY0SfOanPxmENl6C7 VM0EoAI6fyCpnQrgGfg4eAg1YhZeWhPPZt81Pm8SzWaTUQ2NqScZPxMvkV87i1tcXmf9 NMuvwsXmTKLD3FyW328JxY+rVmEWYA9o6NGQJlzMeFHKRvjSwuNuAGZWiz3kkMZqH5ID t1Qg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=LpFlYgD3; dkim=pass header.i=@codeaurora.org header.s=default header.b="ay2/dFsG"; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w24si2581512ejk.57.2019.10.08.07.25.39; Tue, 08 Oct 2019 07:26:04 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=LpFlYgD3; dkim=pass header.i=@codeaurora.org header.s=default header.b="ay2/dFsG"; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725942AbfJHOZC (ORCPT + 99 others); Tue, 8 Oct 2019 10:25:02 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:48066 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725795AbfJHOZC (ORCPT ); Tue, 8 Oct 2019 10:25:02 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 7873160767; Tue, 8 Oct 2019 14:25:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1570544701; bh=I2INBlXYMChgwc8/RBJLLPzDkUDaxbatBFHeY0+sfpU=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=LpFlYgD3kSnT33qyHKzOiIvsPulrl6fnmy60IpFtfmirOSDTPGoEH+14VBAs8DSpk qBPeebnXNgqzmmurOrsoYbAez0YhUJwBMZaynli/psmpPj1XP7nhblfhm7Aurnth1T rfq3Vuxo2lMGs7EuLKTRiEHFZXlaAfnIalp9E9O4= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED,SPF_NONE autolearn=no autolearn_force=no version=3.4.0 Received: from potku.adurom.net (88-114-240-156.elisa-laajakaista.fi [88.114.240.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: kvalo@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id DAEE66030E; Tue, 8 Oct 2019 14:24:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1570544700; bh=I2INBlXYMChgwc8/RBJLLPzDkUDaxbatBFHeY0+sfpU=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=ay2/dFsGpa4//xVaVO3KLkLsd16fYQ4TV4KbV4RNxutTV4jmb/xi+1KzzvzAahL/V W4am0PvpAlCvqa+HYKN2TS2UUKIfFTjOLFDGAePbMlGywTYuQ37g213w7Zz24PxftT A2XMZSDH82aiPem6VLEh4c6DkuAevT52uW3jDzgg= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org DAEE66030E 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=kvalo@codeaurora.org From: Kalle Valo To: "zhengbin \(A\)" Cc: , , , , Subject: Re: [PATCH] rtw88: 8822c: Remove set but not used variable 'corr_val' References: <1570180736-133907-1-git-send-email-zhengbin13@huawei.com> <08492ba6-eaf6-8c72-74fe-f49e0a95639e@huawei.com> Date: Tue, 08 Oct 2019 17:24:56 +0300 In-Reply-To: <08492ba6-eaf6-8c72-74fe-f49e0a95639e@huawei.com> (zhengbin's message of "Tue, 8 Oct 2019 17:33:51 +0800") Message-ID: <87d0f771s7.fsf@kamboji.qca.qualcomm.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org (PLEASE don't top post, fixing that manually) "zhengbin (A)" writes: > > On 2019/10/4 17:18, zhengbin wrote: >> Fixes gcc '-Wunused-but-set-variable' warning: >> >> drivers/net/wireless/realtek/rtw88/rtw8822c.c: In function rtw8822c_dpk_dc_corr_check: >> drivers/net/wireless/realtek/rtw88/rtw8822c.c:2166:5: warning: variable corr_val set but not used [-Wunused-but-set-variable] >> >> It is not used since commit 5227c2ee453d ("rtw88: >> 8822c: add SW DPK support") >> >> Reported-by: Hulk Robot >> Signed-off-by: zhengbin > > Sorry for the noise, please ignore this Why? What was wrong in the patch? -- https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches