Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp301834ybl; Tue, 27 Aug 2019 20:49:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqxU4VGtOSmlMmeKUumN89GOLp7sYKJGtis7QHl9JcnPGrIQfPpW701ciXQTSIMK+2fQVExh X-Received: by 2002:a17:902:598b:: with SMTP id p11mr1114893pli.96.1566964168790; Tue, 27 Aug 2019 20:49:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566964168; cv=none; d=google.com; s=arc-20160816; b=GA5ukLBjfw0j4dw9lG0fLImH7bA+xaW4+GsEHEvo20EImqVMXDpKmwtYHi/QRg5Hr1 toXeBLqDdIS+ByoS+/QDlxi23SSgMWvhEp388uU56FaLY3VEYsK82Osetxs+xZL4RAJu zewuWP42qycMOlB0rY1gDGxymH8RCMKzqpCJZ78kS3kATG26AHuAj6Dp4ORASHAiz9j/ L3f2nk4W+tmEZZrIf11ZtW99m1bqeshnRBv5spszYGXq8Qt0axlVvP1LxLc1AytyQhdl HoozIddzqMvrqehYU9nDLIX9nkQLK8NDdUiupVoN4kErUZtw+lNPdwHT10MtwiEw2tWu AzFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=b9D4Sw0cjaHpasqpS29MxgNfYwWhAXFWfOAw6V5Va8s=; b=DHvRl5P7OT0Z5LFh19+9O9Ia9CS1zAaPQEdCwX2UblYBq/MJgnTFG3hgLTwleuezad r6UsPZguce6qVRaRTM8Jv2lcDchoE+Q/6tu0Z9oTyX6Zev87Srwcr6EV2g27t0J2XP3a F5DTZi0B+Mw0PSizC/axAtQIrwiwLP4S+6tW+QpdrvIP8KWY+YmSs8oOTe0P40ciuWTG GbldlZf9QqIxXwN3akblbHa7V+hHHKs15p6J46cUJYgpwFy+vVLGcMPcpPbvczdCD/Hf VSEc6dfxS58HyKnTAyFjp6k0hLe4UJVLCtmdT23H8J7hYqgbsLSOrDUZKoE1b0crHfDX 6k2A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 145si1259708pfb.262.2019.08.27.20.49.13; Tue, 27 Aug 2019 20:49:28 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726504AbfH1DsX (ORCPT + 99 others); Tue, 27 Aug 2019 23:48:23 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:54394 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726178AbfH1DsW (ORCPT ); Tue, 27 Aug 2019 23:48:22 -0400 Received: from localhost (unknown [IPv6:2601:601:9f80:35cd::d71]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 09F09153BA50F; Tue, 27 Aug 2019 20:48:22 -0700 (PDT) Date: Tue, 27 Aug 2019 20:48:21 -0700 (PDT) Message-Id: <20190827.204821.340435873815704705.davem@davemloft.net> To: maowenan@huawei.com Cc: nbd@openwrt.org, john@phrozen.org, sean.wang@mediatek.com, nelson.chang@mediatek.com, matthias.bgg@gmail.com, kernel-janitors@vger.kernel.org, netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 -next] net: mediatek: remove set but not used variable 'status' From: David Miller In-Reply-To: <20190826013118.22720-1-maowenan@huawei.com> References: <20190824.142158.1506174328495468705.davem@davemloft.net> <20190826013118.22720-1-maowenan@huawei.com> X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Tue, 27 Aug 2019 20:48:22 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Mao Wenan Date: Mon, 26 Aug 2019 09:31:18 +0800 > Fixes gcc '-Wunused-but-set-variable' warning: > drivers/net/ethernet/mediatek/mtk_eth_soc.c: In function mtk_handle_irq: > drivers/net/ethernet/mediatek/mtk_eth_soc.c:1951:6: warning: variable status set but not used [-Wunused-but-set-variable] > > Fixes: 296c9120752b ("net: ethernet: mediatek: Add MT7628/88 SoC support") > Signed-off-by: Mao Wenan Applied to net-next.