From patchwork Wed Jul 26 14:40:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yue Haibing X-Patchwork-Id: 126466 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a985:0:b0:3e4:2afc:c1 with SMTP id t5csp486784vqo; Wed, 26 Jul 2023 08:39:15 -0700 (PDT) X-Google-Smtp-Source: APBJJlFtmG+OE970bUtlrUI0tQRNIxzlwqC0hjLloDOe0G9m6ZS1uIZMiBVtNcFZGyiWrQ0qBlqX X-Received: by 2002:a05:6a21:778a:b0:12c:e3c8:8c7 with SMTP id bd10-20020a056a21778a00b0012ce3c808c7mr2088735pzc.41.1690385955220; Wed, 26 Jul 2023 08:39:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690385955; cv=none; d=google.com; s=arc-20160816; b=n/SYPYgAQRIW6KU679bJE6yXYPb7fXsEWzcQFj7tbvwah1s4Lq1MeImXdn/CuHnRl0 YBds9Ji2Ya84CywzN/CFQ1adp1xCQcJ6dYFrvzPl1Bf0UlOCktzoT2IUp0dRckPX3WaB j2EdaXIAkgaDm/BD8JrkN+Q4Bo3nzTOyttAZb9C+MjTsEzIgCxqIKi/LGzgDHC2/KMBk oStQ99gccbXnO2GgwRxDOGmS2CBzQkYx4KE25HNIdCO8JBn98Ka5yKLFK0jwBSuof6ki cO1huu+cU3mAdbXPHqRAWQIP98059xuSGAyl65d4XUex4yRmvFclxEqmGx3J/Vv65MNF ITJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=bvxsWBkfiB4qB9YuRNzSmjtivJW0k2jLMwEVFjbBTNA=; fh=+/hrfOU/Cx5waGhlTFsjBKnUcKG9BywKnecNBqNi25k=; b=kete1tSYJ3V8SkcF9ellZ6hInEIGxUD7zJOGM5TLZqnP03diK0CeGyZEs9gvI1MJrn yROKAgxIYL6VArCqjSISTK1QQvUfpGbOZLGYGoLwfJ7FYLUrq5cUetRkavNBs2NVaOsQ QFzbhpbFodfPZBCbWKwndtx7lIt3jimLhXdXAlGEB14gMK+8TKPgfalE6PkON34C9okM O5Xts41hphHEJrXuA8s6gAxQdYVQOwy4KUYNUypJu2vFbA6PQchhnJE5cnrmga699i1o iQNEJjSO4dq9oa0fLlyuuLBhTVYdnZDZ7VZfTHkiL6i923MfendFlD2vIqO2LSPrR9Zn jctQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d2-20020a63d702000000b005347aba7376si13084470pgg.297.2023.07.26.08.39.01; Wed, 26 Jul 2023 08:39:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232021AbjGZOlD (ORCPT + 99 others); Wed, 26 Jul 2023 10:41:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60698 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231469AbjGZOlA (ORCPT ); Wed, 26 Jul 2023 10:41:00 -0400 Received: from szxga08-in.huawei.com (szxga08-in.huawei.com [45.249.212.255]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 37C45CE; Wed, 26 Jul 2023 07:40:59 -0700 (PDT) Received: from canpemm500007.china.huawei.com (unknown [172.30.72.55]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4R9xPw1BMNz1GDHW; Wed, 26 Jul 2023 22:40:04 +0800 (CST) Received: from localhost (10.174.179.215) by canpemm500007.china.huawei.com (7.192.104.62) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Wed, 26 Jul 2023 22:40:57 +0800 From: YueHaibing To: , , , , CC: , Subject: [PATCH net-next] net: datalink: Remove unused declarations Date: Wed, 26 Jul 2023 22:40:54 +0800 Message-ID: <20230726144054.28780-1-yuehaibing@huawei.com> X-Mailer: git-send-email 2.10.2.windows.1 MIME-Version: 1.0 X-Originating-IP: [10.174.179.215] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To canpemm500007.china.huawei.com (7.192.104.62) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1772498143438622559 X-GMAIL-MSGID: 1772498143438622559 These declarations is not used after ipx protocol removed. Signed-off-by: YueHaibing Reviewed-by: Simon Horman --- include/net/datalink.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/net/datalink.h b/include/net/datalink.h index c837ffc7ebf8..6c529a40e00d 100644 --- a/include/net/datalink.h +++ b/include/net/datalink.h @@ -23,6 +23,4 @@ struct datalink_proto { struct list_head node; }; -struct datalink_proto *make_EII_client(void); -void destroy_EII_client(struct datalink_proto *dl); #endif