Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp5067976ybv; Tue, 11 Feb 2020 08:35:40 -0800 (PST) X-Google-Smtp-Source: APXvYqyCPGmA63ax7FN6s4CAS/YD++GpjZL+tGcNr4VnfS8C7jimQg7EmeI4figqiNWa+WuKWwQ0 X-Received: by 2002:a54:4f16:: with SMTP id e22mr3508756oiy.170.1581438940574; Tue, 11 Feb 2020 08:35:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581438940; cv=none; d=google.com; s=arc-20160816; b=QJ6WC562894spZeVfn8wGcjmBl7qVoyzyAW5EikFuqlOUJVw3vt4XvqroyMTGq8DUT DnfuI5ndIHd+VfkHyy2q82zPMF1nFEjx16GhBUhBC58NxF4mLHy+s1w8c8TeZdRbTQAh Bf6U20ogWi6vIFgXdYxQvyS/4vnFgXE/NY/PpvnG6d43az1xcGuUsMOmTArR/AkORfbI yDiSgKPvns2bJwjQPCwUWFDuDM3fobxwQy1V7/IgnWCSRQ8WWyF+F1AYTisc0P0NW3zr CxCoGxQlefCLq+F9g+i+Nw1Mo2UG6LUdva7YViAc9J0uM6+NRWbdQcl8Twe6BM/TQ4gl FctQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=19HDbwK/aXmVE58HxG5XdARcSerGGSmSylSxnqVDdq0=; b=Inm8P8nyWx+FczrbdNpSkVjP/F/adNBNEq1weaRB0l13mUSZ5c4NX7RLj3smB/Q0MI GfGeOXHHNgAaGarFv84u6sa4AtUSHlsWo3Bsv5HlE/3DvBCdT/AaXfnurHGMVsa4JRfw HP1vgawRQ4X8mrLRVih8rE373jKbFQTUbGp0s4A+YBTfetSNdGzw11WmHxNDPEbjZ044 MzCmphEuUrzaoc3zUjoLrW9laZO4JadbWhKa5yTQiNNUNzxTIftx6W5GVSPPYxrXyi8l aQY8qpD9d+aYJlLd5VpsujuD48eXPJWo2JPvSFSUGZIal0wEz23r5Fe+wKIxkJD8OSuA tzVw== 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 c4si2788419ots.107.2020.02.11.08.35.28; Tue, 11 Feb 2020 08:35:40 -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 S1729972AbgBKORN (ORCPT + 99 others); Tue, 11 Feb 2020 09:17:13 -0500 Received: from szxga06-in.huawei.com ([45.249.212.32]:52088 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728495AbgBKORN (ORCPT ); Tue, 11 Feb 2020 09:17:13 -0500 Received: from DGGEMS408-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 12EAC98FE9F5F2753074; Tue, 11 Feb 2020 22:16:55 +0800 (CST) Received: from localhost (10.133.213.239) by DGGEMS408-HUB.china.huawei.com (10.3.19.208) with Microsoft SMTP Server id 14.3.439.0; Tue, 11 Feb 2020 22:16:45 +0800 From: YueHaibing To: , , , CC: , , YueHaibing Subject: [PATCH net-next] sfc: remove unused variable 'efx_default_channel_type' Date: Tue, 11 Feb 2020 22:16:06 +0800 Message-ID: <20200211141606.47180-1-yuehaibing@huawei.com> X-Mailer: git-send-email 2.10.2.windows.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.133.213.239] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Signed-off-by: YueHaibing --- drivers/net/ethernet/sfc/efx.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/ethernet/sfc/efx.c b/drivers/net/ethernet/sfc/efx.c index 4481f21a1f43..256807c28ff7 100644 --- a/drivers/net/ethernet/sfc/efx.c +++ b/drivers/net/ethernet/sfc/efx.c @@ -113,7 +113,6 @@ MODULE_PARM_DESC(debug, "Bitmapped debugging message enable value"); * *************************************************************************/ -static const struct efx_channel_type efx_default_channel_type; static void efx_remove_port(struct efx_nic *efx); static int efx_xdp_setup_prog(struct efx_nic *efx, struct bpf_prog *prog); static int efx_xdp(struct net_device *dev, struct netdev_bpf *xdp); -- 2.20.1