Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp269945pxf; Thu, 1 Apr 2021 00:13:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy9riPBbV2/onjn12ARWAwzEg4SToFcU1QNfU5qOYCOubIH/H9e6Qy2FVNYbb9p6piYtoVo X-Received: by 2002:a17:906:2bc3:: with SMTP id n3mr7684263ejg.418.1617261180297; Thu, 01 Apr 2021 00:13:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617261180; cv=none; d=google.com; s=arc-20160816; b=i5b9H36RgTXg5PB7XnEHSjv37RkVTO98feG0Fys8QV64oKEY5okaBBe7UvT/W+XNb3 i+FSL4kuV6pWg1su+KFWaOQGxnaO6xpwDAK+qDcKaDQKje+SwLsIW5oPqJZGcUhv7OR3 EJCu2REsM36vAUJt2QInjkR6WL8K76e8qDVGHtKAGoRhMlvkPfoYiblSybiX6Ggl2xOG 00BJejwJqpxAF2nuUvPicuBo7a4v1/0xPYAdBq5DL8wR9t1eWPt2pDG+eu9G3EO6Idc8 A7oGm2UCC6FqZ7bO99iC312IEUTW67ebob+OUak1d5WCwxlEOHjzGSPGJj253gH9/IgF wpHA== 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=ZZq0ln/ym/SkTKWLusVONIRR1IMZi5zYSoNuMr6GomU=; b=c8+sFwy8KSaW/N844E4g1B2YBJG42HDQ/AqlW8hy/pHvnGGFdU7GzdemdW4mPSgzKZ l0q8XPUQiTw72ymQk88EDn4RwrzipKaPgPXVzOT7ixvvy57kcuDGWs0f+/pZws+pUFGa 0jVu4vY4Kf1PbC9zWomPfhiH7Uzimfy7kAg0IPPDnmvY3R/2kSQNZ0HnlA2A6BZF0f8T lIi7nvd5diKhVhaNvOQHt8UlKerQDn42tpx2SDHc7yG4KdyrtPFRWOsOIuh4GEnKtCLj +VidWC7YWmwWC0JpD6efmQ2Bo0tnY/tAF06zaWapNGqi6NKnlW4EvyECtwpH4Hm5h9O1 Ay+Q== 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=vivo.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z14si4013666edq.36.2021.04.01.00.12.38; Thu, 01 Apr 2021 00:13:00 -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=vivo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233305AbhDAHJ7 (ORCPT + 99 others); Thu, 1 Apr 2021 03:09:59 -0400 Received: from mail-m17637.qiye.163.com ([59.111.176.37]:28044 "EHLO mail-m17637.qiye.163.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229850AbhDAHJd (ORCPT ); Thu, 1 Apr 2021 03:09:33 -0400 Received: from wanjb-virtual-machine.localdomain (unknown [36.152.145.182]) by mail-m17637.qiye.163.com (Hmail) with ESMTPA id C56E8980436; Thu, 1 Apr 2021 15:09:30 +0800 (CST) From: Wan Jiabing To: "David S. Miller" , Jakub Kicinski , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Cc: kael_w@yeah.net, Wan Jiabing Subject: [PATCH] include: net: Remove repeated struct declaration Date: Thu, 1 Apr 2021 15:08:22 +0800 Message-Id: <20210401070823.994760-1-wanjiabing@vivo.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-HM-Spam-Status: e1kfGhgUHx5ZQUtXWQgYFAkeWUFZS1VLWVdZKFlBSE83V1ktWUFJV1kPCR oVCBIfWUFZSEpJSkNNQhhNT0xNVkpNSkxJTUtCTEpLSklVEwETFhoSFyQUDg9ZV1kWGg8SFR0UWU FZT0tIVUpKS0hKTFVLWQY+ X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6PxA6CRw*CD8JFjQ#QwMSAiML HUwKCRpVSlVKTUpMSU1LQkxKSUJNVTMWGhIXVQwaFRESGhkSFRw7DRINFFUYFBZFWVdZEgtZQVlI TVVKTklVSk9OVUpDSVlXWQgBWUFKTk5INwY+ X-HM-Tid: 0a788c4403b2d992kuwsc56e8980436 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org struct ctl_table_header is declared twice. One is declared at 46th line. The blew one is not needed. Remove the duplicate. Signed-off-by: Wan Jiabing --- include/net/net_namespace.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/net/net_namespace.h b/include/net/net_namespace.h index dcaee24a4d87..47457048ab86 100644 --- a/include/net/net_namespace.h +++ b/include/net/net_namespace.h @@ -407,7 +407,6 @@ int register_pernet_device(struct pernet_operations *); void unregister_pernet_device(struct pernet_operations *); struct ctl_table; -struct ctl_table_header; #ifdef CONFIG_SYSCTL int net_sysctl_init(void); -- 2.25.1