Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp62673ybv; Wed, 19 Feb 2020 16:27:01 -0800 (PST) X-Google-Smtp-Source: APXvYqwqyVpnvzha8oLUYWNLPLaVPV/qGimIODLY9xM2WQfDvt5iJ1JFEAyGlzE0wXzjIx/BoxWF X-Received: by 2002:a9d:62d8:: with SMTP id z24mr20835923otk.362.1582158420981; Wed, 19 Feb 2020 16:27:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582158420; cv=none; d=google.com; s=arc-20160816; b=Qx2v3UjjyofqGBCaKRFfv2bCC50M3tX1JMVzCj5Y7w90pZta5dZVipK8ptBR6633Fa DK24y6GUWKTI0laE4WZF+ugM9YssA3Ic9F8OGAKNB8tMcOElbZD/dlFw/2yKYXvl4sDt AvqOjc/CznXysrAsdSpU0HB04rGazouOrFZ6BOgatCUotGJgD8E4ivkGk6y5+D4458pC SEZvfCId8KqJD6UMKlwwu1zgaXcupilwopSpzZYady0zb4rnit5BS5snDkWzmyaa8xXz 3kH3aF5SToZL6whnXVbKNFflDVIEJ5zXF6CXcHJ8pWTbA4JQZbiJu1/ghulGavb3eLkk WgVA== 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=WPfd0YR9iiLTIjHalW4gKexRtB1wyMZGxe22W4WMPYw=; b=KqXMOUKh6nfHKlTqVChwj75E5JBhDqi4F5aaJ5AIOeM/me/oIFOptyOHaxFDhex3zs ow0BepaslPqCRV6McnHoLR6uAXLoiph4XjrwiHrJh1hi9eJyU1qv6dQ+435WVQ4K4G8X N/L4txYH9abOiWjULYXR8Ue7USu89mPWKa/AHNPGOiaMzs1+cUQ2YOnNxOUrVOvsk9MV JFvP5Sm+IumXA5Ru2uzQi/JZQKrDRALUur55l3eAv9KO2OQeIxIAlYvTDK2DVIplTXsG bNBXtL49WyahDSPSUl9mQPfHgcjhNFyvyiXC4KHIcv+QvDVVntf9BeTzzKpk0JcAYpmy 9ZaQ== 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 n14si748414otk.179.2020.02.19.16.26.49; Wed, 19 Feb 2020 16:27:00 -0800 (PST) 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 S1727125AbgBTA0Y (ORCPT + 99 others); Wed, 19 Feb 2020 19:26:24 -0500 Received: from shards.monkeyblade.net ([23.128.96.9]:49494 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726736AbgBTA0Y (ORCPT ); Wed, 19 Feb 2020 19:26:24 -0500 Received: from localhost (unknown [IPv6:2601:601:9f00:477::3d5]) (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 5FD5C15BD7A5A; Wed, 19 Feb 2020 16:26:23 -0800 (PST) Date: Wed, 19 Feb 2020 16:26:22 -0800 (PST) Message-Id: <20200219.162622.388743779284465493.davem@davemloft.net> To: yuehaibing@huawei.com Cc: linux-net-drivers@solarflare.com, ecree@solarflare.com, mhabets@solarflare.com, amaftei@solarflare.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 net-next] sfc: remove unused variable 'efx_default_channel_type' From: David Miller In-Reply-To: <20200219013458.47620-1-yuehaibing@huawei.com> References: <20200211141606.47180-1-yuehaibing@huawei.com> <20200219013458.47620-1-yuehaibing@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]); Wed, 19 Feb 2020 16:26:23 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: YueHaibing Date: Wed, 19 Feb 2020 09:34:58 +0800 > drivers/net/ethernet/sfc/efx.c:116:38: warning: > efx_default_channel_type defined but not used [-Wunused-const-variable=] > > commit 83975485077d ("sfc: move channel alloc/removal code") > left behind this, remove it. > > Reported-by: Hulk Robot > Fixes: 83975485077d ("sfc: move channel alloc/removal code") > Signed-off-by: YueHaibing > --- > v2: Add Fixes tag Applied, thanks.