Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp2303156ybl; Sat, 24 Aug 2019 14:23:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqwk3OE58igFFrochbrqZLUdq8KyCTH0F7Ev+riTA+1fRXqp/4OU/4ntyEQ10iG4lOpPnI1b X-Received: by 2002:a62:cdc3:: with SMTP id o186mr12528189pfg.168.1566681780765; Sat, 24 Aug 2019 14:23:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566681780; cv=none; d=google.com; s=arc-20160816; b=uEujwKAYJqfaiq6KRmEZvFJmhzmb92K6pr8h8HzIVBSKDsuilXGGWxzauAi3qpac06 HKX8sACrZ8h9Fas6tFou3zqa+CllTmyOlvC6XYuBzr5cdGeENRLPi3v/FBfblMwCm+6w Oeqd79nl0+ETXlp91L8WGPn1fwQNAtHYsx0f7jKb6xOToQ3PmTDi63nYLh5gfzoUYcM+ evAFmep8+iZ5YrhRyUxaWK/oyi/hlBiAha5Z3hTFdBR6O1JHZUYHGhZcndYaGS6/BanV rL4sPE+DsBymrZDxt52R47qw0tgH9B6Jz2xMEOUD5Q0Gq8c3t0vO0vbDNuwSAGslqB7b ta0w== 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=KZsP/XhoaHdBpYH+BY//zCYVvHVCtcij/dfvFF002W4=; b=A62myBQPiqnU3FZEyALJJLJxRpgx/kbnaCRw62ujBIdOrKWz5yn7DbQ8T5jrDKWpnQ vuf+J8xBaYy8V65aTcbEcdOFHZ8PMb2UWbfxLZTTKNNJlhMaMM/Yqzi3/IfWRGMlg5MI v47Cmg5fm5wD2JmTIsNzqzCx+cIVcJzU+cfIu/p020vCHQG+VK1RYbosEq2l9dGkZPxq 2x1ERrXdpfvvOaY9q3RW/Cm/k8ovE1NDZzD6jVIIFX2hX9JgfhjbKycrQZnBEdz3zSZ6 yjPHMDe7VkyxTrElPmgWKswXLdFkuyAjY2kJks9LFh/6l30l5kuFSaWhSwl6elOpi+Zq +pwA== 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 2si5857585plc.85.2019.08.24.14.22.46; Sat, 24 Aug 2019 14:23:00 -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 S1728022AbfHXVV7 (ORCPT + 99 others); Sat, 24 Aug 2019 17:21:59 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:47724 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726842AbfHXVV7 (ORCPT ); Sat, 24 Aug 2019 17:21:59 -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 9358615252E02; Sat, 24 Aug 2019 14:21:58 -0700 (PDT) Date: Sat, 24 Aug 2019 14:21:58 -0700 (PDT) Message-Id: <20190824.142158.1506174328495468705.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, netdev@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: Re: [PATCH -next] net: mediatek: remove set but not used variable 'status' From: David Miller In-Reply-To: <20190822063026.70044-1-maowenan@huawei.com> References: <20190822063026.70044-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]); Sat, 24 Aug 2019 14:21:59 -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: Thu, 22 Aug 2019 14:30:26 +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] > > It is not used since commit 296c9120752b ("net: ethernet: mediatek: Add MT7628/88 SoC support") This is not a standard commit tag, please use Fixes: or similar.