From nobody Tue Feb 10 03:17:56 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 13BD617BC2 for ; Thu, 22 Feb 2024 08:04:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708589046; cv=none; b=Zm0RI9zGuyGfelf8qZnq/onxAdbJ8lY+uJDf+dn3VWwCpsFkvKVSWLGbF5cI4Ea6sR7KFWMuLeso75b9s5sAvX2Duy3eU9iBhG66BWMnS5AC/fmx3xUUJL5z7LdgbHgFqlS6p9RoteQ56Ct3rnnreGCQGA/+W2zgS34ju0RaO1g= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708589046; c=relaxed/simple; bh=V+LVlg96JbbxV9/NAT+eYZJ9otqIxXDrJP/t59ex8bQ=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=ns4XoQ8li/0E0J0H2AXBAXrskS1B31uwsbgUJx/HdInehQyYsTf8teiRa0Huu9hLWQmAxODBGHppGi5FHaN7I7ZFrIDak6tqZfduFpxoCaYmm2pJwRr0i8dx8cEvigh2pOddtSrlUqZN24UL+AXcf1fZ6NkJUvUZVWooltGc2yI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=WUV8CQbk; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="WUV8CQbk" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 16661C433F1; Thu, 22 Feb 2024 08:04:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708589045; bh=V+LVlg96JbbxV9/NAT+eYZJ9otqIxXDrJP/t59ex8bQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WUV8CQbkfFxDwmIRqKQieZZHmI1kYxrk56JaALC/meyovTvm4lkImnUz7EZlFeQpP rlksJXPuWu01cZnTV6UwFiyBfha+5ovsAgSrSyspnKDVLUDwnsW2TtlA9FXMdixi28 Cw1qC1T4HgTEpsmeVHJXToRldE8jxDk1kTaVk+8dS5QROnQcpM1lwVtEONbzAN1pfD I6p+hGX0Uze9sDSKvy+hSE5ak4Voh+f8kz4xcR+JEIxP147c1GOaCnzSt+DTJ5KX4K 8bnv2LsrSp44BJGC1XlODg4yYlQarjFc75AnCr8t7pYtOW67aBZ1ucKhiEHh0vl6vO UHFXb7IBmjzRQ== From: Geliang Tang To: mptcp@lists.linux.dev Cc: Geliang Tang Subject: [PATCH mptcp-next v2 2/7] mptcp: drop duplicate header inclusions Date: Thu, 22 Feb 2024 16:03:53 +0800 Message-Id: X-Mailer: git-send-email 2.40.1 In-Reply-To: References: Precedence: bulk X-Mailing-List: mptcp@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Geliang Tang The headers net/tcp.h, net/genetlink.h and uapi/linux/mptcp.h are included in protocol.h already, no need to include them again directly. This patch removes these duplicate header inclusions. Signed-off-by: Geliang Tang --- net/mptcp/diag.c | 1 - net/mptcp/mptcp_diag.c | 1 - net/mptcp/pm.c | 1 - net/mptcp/pm_netlink.c | 3 --- net/mptcp/protocol.c | 1 - net/mptcp/subflow.c | 2 -- 6 files changed, 9 deletions(-) diff --git a/net/mptcp/diag.c b/net/mptcp/diag.c index 6ff6f14674aa..aefe26e5ae72 100644 --- a/net/mptcp/diag.c +++ b/net/mptcp/diag.c @@ -10,7 +10,6 @@ #include #include #include -#include #include "protocol.h" =20 static int subflow_get_info(struct sock *sk, struct sk_buff *skb) diff --git a/net/mptcp/mptcp_diag.c b/net/mptcp/mptcp_diag.c index bd8ff5950c8d..0566dd793810 100644 --- a/net/mptcp/mptcp_diag.c +++ b/net/mptcp/mptcp_diag.c @@ -10,7 +10,6 @@ #include #include #include -#include #include "protocol.h" =20 static int sk_diag_dump(struct sock *sk, struct sk_buff *skb, diff --git a/net/mptcp/pm.c b/net/mptcp/pm.c index b4bdd92a5648..28e5d514bf20 100644 --- a/net/mptcp/pm.c +++ b/net/mptcp/pm.c @@ -6,7 +6,6 @@ #define pr_fmt(fmt) "MPTCP: " fmt =20 #include -#include #include #include "protocol.h" =20 diff --git a/net/mptcp/pm_netlink.c b/net/mptcp/pm_netlink.c index 16f8bd47f4b8..a900df9f173d 100644 --- a/net/mptcp/pm_netlink.c +++ b/net/mptcp/pm_netlink.c @@ -8,12 +8,9 @@ =20 #include #include -#include #include #include #include -#include -#include =20 #include "protocol.h" #include "mib.h" diff --git a/net/mptcp/protocol.c b/net/mptcp/protocol.c index 50dcba41b6ef..b2c4eecf86c4 100644 --- a/net/mptcp/protocol.c +++ b/net/mptcp/protocol.c @@ -15,7 +15,6 @@ #include #include #include -#include #include #if IS_ENABLED(CONFIG_MPTCP_IPV6) #include diff --git a/net/mptcp/subflow.c b/net/mptcp/subflow.c index 6403c56f2902..1626dd20c68f 100644 --- a/net/mptcp/subflow.c +++ b/net/mptcp/subflow.c @@ -15,13 +15,11 @@ #include #include #include -#include #if IS_ENABLED(CONFIG_MPTCP_IPV6) #include #include #endif #include -#include #include "protocol.h" #include "mib.h" =20 --=20 2.40.1