Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp3270710pxb; Wed, 13 Oct 2021 02:35:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxWmEdzYSCpTy7tAyvg1oiV5BYE25hvpytRfwqOizQLJPbcgbLGG68Jt05cU89EJclRuIas X-Received: by 2002:aa7:8891:0:b0:44d:a66:2f1b with SMTP id z17-20020aa78891000000b0044d0a662f1bmr20463295pfe.22.1634117704580; Wed, 13 Oct 2021 02:35:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634117704; cv=none; d=google.com; s=arc-20160816; b=WXN6i8b7h0WaIH4RzwxuXmodzw2UGEYEVcz+iu2IJJSXHsvcfsGuqiZ8sgaE39UCQ5 bVWjRSZdkJffwwA8q68fy2JHBQ5g++8xC5ARZO5Zko/mQiSh4Y+RFnRnYoDOI+fKNDT9 ubzI7bSxtgZTIY8VEIVWozYU2BK3MnBegr/JHlWXA6r0nwPhf/47Tsa13l+drp10LZzT 6j94q2+rgqkke7eU9MHbadrXwcr8H2l2yMm+f048q3AWjFE+t0JEUrM2H3dSdijAJw5n Hh4oQQ5liAaVcJz0zTGeNaVpsWReSBQuO5r7tQfSQeYQrfRb0VvpJ2W/dZkUKiurk6f+ +upQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=UwtNkq6DE39oHh2nT3qs8e8CekzIPSrVk09Z3CHljaE=; b=IK3rsS9dc9t6J8kOyaCg9nM8qA5uZQsPGZPuoYTLZfncB4Rm8MZrDZK2XaJz2g+z5x 1dk2UPeSACfBs3+E3I3sRf/mnWEQNVxrzGPcQzSI3GX/JOr63AE7TTXYhT+4SkqgqTVg 0hJKMGoiDUcDnxe2BvMYxEPzvgiwqELchrRoi0NgzfRATk9qfQJAN2J+/5QAIpOGJUFF lG5gzm4lBXnGScBHKp5UmbehIxWG6cPTYqn+Pkeu8GB4bOatk+csyOTtujLDtSROKXk9 kQaIbNrkfENFe6JBMHmWEzN45yjQacxSzRs2mfQTUqHpAwfY01Ciw3utHPFsQjVvt1n6 f9ag== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q8si19131566pgq.595.2021.10.13.02.34.51; Wed, 13 Oct 2021 02:35:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237836AbhJMJeh (ORCPT + 99 others); Wed, 13 Oct 2021 05:34:37 -0400 Received: from szxga02-in.huawei.com ([45.249.212.188]:24306 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238986AbhJMJee (ORCPT ); Wed, 13 Oct 2021 05:34:34 -0400 Received: from dggemv711-chm.china.huawei.com (unknown [172.30.72.56]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4HTnJL28nmzYdv0; Wed, 13 Oct 2021 17:28:02 +0800 (CST) Received: from dggpemm500002.china.huawei.com (7.185.36.229) by dggemv711-chm.china.huawei.com (10.1.198.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.8; Wed, 13 Oct 2021 17:32:30 +0800 Received: from localhost.localdomain (10.175.112.125) by dggpemm500002.china.huawei.com (7.185.36.229) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.8; Wed, 13 Oct 2021 17:32:29 +0800 From: Chen Wandun To: , , , , , CC: Subject: [PATCH] net: delete redundant function declaration Date: Wed, 13 Oct 2021 17:47:02 +0800 Message-ID: <20211013094702.3931071-1-chenwandun@huawei.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.175.112.125] X-ClientProxiedBy: dggems703-chm.china.huawei.com (10.3.19.180) To dggpemm500002.china.huawei.com (7.185.36.229) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The implement of function netdev_all_upper_get_next_dev_rcu has been removed in: commit f1170fd462c6 ("net: Remove all_adj_list and its references") so delete redundant declaration in header file. Fixes: f1170fd462c6 ("net: Remove all_adj_list and its references") Signed-off-by: Chen Wandun --- include/linux/netdevice.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 0723c1314ea2..b96b2a3762d1 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h @@ -4801,8 +4801,6 @@ struct netdev_nested_priv { bool netdev_has_upper_dev(struct net_device *dev, struct net_device *upper_dev); struct net_device *netdev_upper_get_next_dev_rcu(struct net_device *dev, struct list_head **iter); -struct net_device *netdev_all_upper_get_next_dev_rcu(struct net_device *dev, - struct list_head **iter); #ifdef CONFIG_LOCKDEP static LIST_HEAD(net_unlink_list); -- 2.25.1