From patchwork Wed Jul 26 14:32:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yue Haibing X-Patchwork-Id: 126450 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a985:0:b0:3e4:2afc:c1 with SMTP id t5csp481675vqo; Wed, 26 Jul 2023 08:30:38 -0700 (PDT) X-Google-Smtp-Source: APBJJlE8SwmMfz4f3YZ3rLb2ZTNAjPjCo3DWgZD/EEgdV56oNxf9bjO17X2kgx+jBY1xg3pSJAkB X-Received: by 2002:a05:6402:1106:b0:522:4f6d:c443 with SMTP id u6-20020a056402110600b005224f6dc443mr1935036edv.23.1690385437928; Wed, 26 Jul 2023 08:30:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690385437; cv=none; d=google.com; s=arc-20160816; b=IFloJGDisrmdAbwxquJlsS34vXphjKNdxkcLxL0URn9kvV4qg5nM9GtvqZL1wAEC/S JxItR+0Te0Q7oK0mOb5wcNk0FObW6GPngcucmwqVXsOY/RCo56tWxVQKo2gQRNtH34ch tvDBLJ07ezVCQQrvaS/9+BsAF9f79X8aRyhJhgxW6NqjDGlpCAQyB66lfv2VgdpyCU5I aCjmQAmNOO8dy6ltdTp+qIyLNTiHmtrL5ONnEvpQM8kul6hYOa8ZHHYzHdS1yX29/ixN 6eBBIE+nukrMZJni4jEusjvtMfS1IWtP3HauzZyflzFDnbmDM82JVwNjSUDW/BRtZ9WZ uJNg== 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=5xwtYD/Fwaw5b0GMd0NxmTDyVVZu/P7pkpZt9msFul8=; fh=bHfBEIS+UKbGbv37zGIIh0NKjZ8q8bNPxTrrCpn3IBs=; b=Bmhw0bPoc36lp49W7HoT9ioRv1gg6uCC/Q92lhBVm4wmi9n0qcqzONUCM0xH5XNtLI dMH+Pf5BtEai8LftCyx2ddBQnx9LwLYVm8VsLms+xUX563ObLskpJ+QLDRsfEwehMJie m2YwryUrj19EgWuGlun6AwBFIqKpx1cE2/6DNF0Si8ic2q9ARxFQlhYMNbGMgAxdcu0g Pv4eT3z5T7tNo00+2ngtfNTsQ1U1zgo7WVzTbKEVxoQJGCo92sU9rTzrbGxVc29L+PQH 0ebQ6m5VYhwEvS6YM2WzUi5N9FaUZdcV6ZrsPF18T+lHGom2ANloEzfN8xvMOYS1eNV1 xxYA== 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 a11-20020aa7d74b000000b005222968fc70si5410948eds.194.2023.07.26.08.30.13; Wed, 26 Jul 2023 08:30:37 -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 S232984AbjGZOct (ORCPT + 99 others); Wed, 26 Jul 2023 10:32:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55330 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234552AbjGZOcs (ORCPT ); Wed, 26 Jul 2023 10:32:48 -0400 Received: from szxga08-in.huawei.com (szxga08-in.huawei.com [45.249.212.255]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0F3CD196; Wed, 26 Jul 2023 07:32:45 -0700 (PDT) Received: from canpemm500007.china.huawei.com (unknown [172.30.72.53]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4R9xDQ22npz1GDHV; Wed, 26 Jul 2023 22:31:50 +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:32:43 +0800 From: YueHaibing To: , , , , CC: , , Subject: [PATCH net-next] dccp: Remove unused declaration dccp_feat_initialise_sysctls() Date: Wed, 26 Jul 2023 22:32:39 +0800 Message-ID: <20230726143239.9904-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: dggems701-chm.china.huawei.com (10.3.19.178) 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: 1772497600940031160 X-GMAIL-MSGID: 1772497600940031160 This is never used, so can remove it. Signed-off-by: YueHaibing Reviewed-by: Simon Horman --- net/dccp/feat.h | 1 - 1 file changed, 1 deletion(-) diff --git a/net/dccp/feat.h b/net/dccp/feat.h index d76c9be5bfca..57d9c026aa3f 100644 --- a/net/dccp/feat.h +++ b/net/dccp/feat.h @@ -105,7 +105,6 @@ extern int sysctl_dccp_rx_ccid; extern int sysctl_dccp_tx_ccid; int dccp_feat_init(struct sock *sk); -void dccp_feat_initialise_sysctls(void); int dccp_feat_register_sp(struct sock *sk, u8 feat, u8 is_local, u8 const *list, u8 len); int dccp_feat_parse_options(struct sock *, struct dccp_request_sock *,