Received: by 2002:a89:2c3:0:b0:1ed:23cc:44d1 with SMTP id d3csp326793lqs; Tue, 5 Mar 2024 03:21:09 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVK+jRspQFuq+XHm2CQQfa4BaT4N3nPOqMnhAnCgJBk05HOfvsFbDHxnJb/hLy6Q1Vp9nBAIxZwAwDxRWJewpXjHu68z1RbQeq9hU4FBA== X-Google-Smtp-Source: AGHT+IEl5JXUia2OiF1h39suOX0yQ2z5rVngj03JEA2NO2Jb90yueZPwCOqv5nrt5TSsd+omatGC X-Received: by 2002:a05:6a00:a91:b0:6e6:189b:a3b0 with SMTP id b17-20020a056a000a9100b006e6189ba3b0mr6095223pfl.12.1709637669723; Tue, 05 Mar 2024 03:21:09 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709637669; cv=pass; d=google.com; s=arc-20160816; b=yrNNmQWq4Zppn9kWtyTp4K1gKc3xQkr7SZ/oHQ+7U89nyYWdQJ47hOkHi1N8yA2wku Zbaba0g7UpSyfDTjEomc6Im0i2dFeCnw+v61T0umv0vtKGaTPjd4kHRCYlsDFh2WdV1N VCVck4sEyU0v/Rk7Pi2B5m/8Cb0q9d7M3x1MqeVY3ASMN8VtjVhl33Is0bzoBe4gcFhx cnL46fS91C07YziqFcTgB1FT15qPy7Hge8CRZ0clQ7Fwhk7UqwibEDElRUQ3dANlxVSP 31X7zAEHxlRuKJ9k9O6TpO94W6bMAaUliiH0TOErVCQBsC7AZD5QNP/y8ma8N75yms+P 80OQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=4Q7Frjux7ogBjgm+N1BO5BaVP54zVEVJSTy5uZd5rJs=; fh=mSqpdfFg+JtRicDWyEuhzFxllnyh2czrFlr/MmTB+MY=; b=BhSrXhIpfPA8uD7u066R7AdHbXa+EIFpw1KOKuTLW8s/FtU7OZrSPVdt397yYnOQWT JNNZ/ylQuPnFqX6jg0Jax0GBzSXu3FQ+V3m+xe2cD9GwEF4RKAq5yUIN697AFXNDS98R nFbfk+HoaJIcDrHRlkGG7rmEeox6Mxryopd8eQdB4nNDJLSQ2Mx0Pik2N08d5JjZZ5RQ JxXXFGVv59WVzqiuOm3bpbjqpRF92GdkfmlRZRTCCxu/reFbdwwCso9oVAcBNqLtwOf/ 99BH8LChc9vJQMGa58FQr8i6Mv6tSHHwLIMPwkG465M6OwScVyn3lCScWyNhXo5XPavq WySg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BR1S5fEo; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-92213-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-92213-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id jw34-20020a056a0092a200b006e621ced1cesi3389658pfb.26.2024.03.05.03.21.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Mar 2024 03:21:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-92213-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BR1S5fEo; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-92213-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-92213-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id CB95CB26AAB for ; Tue, 5 Mar 2024 11:06:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 233DE5A4E0; Tue, 5 Mar 2024 11:04:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="BR1S5fEo" 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 3A7A15A4C9; Tue, 5 Mar 2024 11:04:42 +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=1709636683; cv=none; b=CL/ID/ap38oE0fY06cyKsVjGHw9FbCDzKb9KoK6tldMNfsRF+HsLE1X6TaGBEHXnGq3lBap/sIAiBQ1SLYOQ75KO4jYf+JsiQcqLRhv9Ppd9HsqPy8m465WWdpK3bW6gAyH9FSk8mHxfID6XOXYgCw722ZGIoXjvkOZfIKrfV5o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709636683; c=relaxed/simple; bh=P/wdeWQa0W3b+O5lwhLDozduBxcngBMm9JDLN+WGduM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=QP10qN028kFF0BMPObdi1TH2frWpi+vTZL9DaRG9pBayLRk07d2+YlwGDSgP23CBEUD2ZsWNoNH7EIQaPafH5gfH3dCPQVT+Zw5ASxJtbI3ATcFKOT9xiqxInjlaKR1lNRobptHSa5keWW4lxzgFft0KJ7Bak8KEGPdkWBj4524= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=BR1S5fEo; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id D1472C43390; Tue, 5 Mar 2024 11:04:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709636682; bh=P/wdeWQa0W3b+O5lwhLDozduBxcngBMm9JDLN+WGduM=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=BR1S5fEoZsz1bBQVWzTSK40M6v9eBP8CCcp3i9PiFSCaj2eRenKYjm6jKD79jD8/B 8ogvVNpRfOjRThuQaBEs5Fx8c+VIaHtAkQ6hKRgSZLq/1U7nf7m68V6mFbtvSKE4ZD o78J9v/9cfaKrtXeJKgErl9KcsvKkPBh1smOqvzlJqnBE5J39+tm8k/ktdHdLdCv+7 MunHPZg9PEf2TQW7NDLaXXKx3F+nFboglM/UXI4KuUMtZ8PV8XfRDN+GF9A6u9xmri Uq93U5huzkcXq0ArzotDiZE50xMEJ0xWAU9MjNkmnKPA15uN4+EWC3NeySXclgR8QT 7U/cZhUlhOEyA== From: "Matthieu Baerts (NGI0)" Date: Tue, 05 Mar 2024 12:04:30 +0100 Subject: [PATCH net-next 1/4] mptcp: drop duplicate header inclusions Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240305-upstream-net-next-20240304-mptcp-misc-cleanup-v1-1-c436ba5e569b@kernel.org> References: <20240305-upstream-net-next-20240304-mptcp-misc-cleanup-v1-0-c436ba5e569b@kernel.org> In-Reply-To: <20240305-upstream-net-next-20240304-mptcp-misc-cleanup-v1-0-c436ba5e569b@kernel.org> To: mptcp@lists.linux.dev, Mat Martineau , Geliang Tang , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni Cc: Geliang Tang , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, "Matthieu Baerts (NGI0)" X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2998; i=matttbe@kernel.org; h=from:subject:message-id; bh=HA1tmoL01hr3DXbYFWkVkYbZaNlDbfZMyOwEbhewj4w=; b=owEBbQKS/ZANAwAIAfa3gk9CaaBzAcsmYgBl5vxDNFiGxhHposnm2lR7WNXn7U29kq+wYr8W4 jfOtiwnAbGJAjMEAAEIAB0WIQToy4X3aHcFem4n93r2t4JPQmmgcwUCZeb8QwAKCRD2t4JPQmmg cxxsEADgdU6yF3Gm4w0rwIhzT8Hl02+fcezmjXOsGdfghYbErWVGDH51LAMrxTd2a7mdVs985lb P6YC6pgmb23vA6XsyYk91C+W8mQlEyXx2EyROQbhHZ9deNf39p4+gJ9jq9hLPGYlFx2BK4Y397q O0b+DZHvJ2Iao74Y/ujEyEpkfaSK3vs+6rloQ6cHd9EBiGRGPvc85loW7uXxVIn2BlEKNUdc57D 55NpfHHV+dRzoQGdWwLPBl0AzTSX2KNHNj23mplqd9aogFxiT6HOYbtS4rt5ECIe8zDXl+Jj1Cx +CwxPDNN3GdUU3+Lq4NsBQmSfD8NMeivRjOVZbav0VSyyOL+E1ErVDEvNc+g2ES/AaFJ+RjIykw aMqcEWv34dj9AuZJmpvNmd2BvO+ohBpH1jr0UDbcXHybSg03B5mTblqcuzPr/YlUEUpYHICt+AF mhHTMcjB3ngXhDpc5ZQF2BWMkJBUNFn7w6LjA7wN48jhr28ie3GFr13gRMDT6697LBL8zLW5QRV HEjKErT59vvWrt4fceTneKZJd2CNlCF727x5Ru7Oimmg+QKv8kMXpbkRTHDG+zDrL2qFLcP3RzV hRl68CSlVVFKyPPZmQ2OI7hGb+/FuFGPBos/+xquM4Xna3SoBMnqxCApULAuYkYi5F1+t6eirjg +49jMaa0kXTVaNQ== X-Developer-Key: i=matttbe@kernel.org; a=openpgp; fpr=E8CB85F76877057A6E27F77AF6B7824F4269A073 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 Reviewed-by: Matthieu Baerts (NGI0) Signed-off-by: Matthieu Baerts (NGI0) --- 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 7017dd60659d..3ae46b545d2c 100644 --- a/net/mptcp/diag.c +++ b/net/mptcp/diag.c @@ -10,7 +10,6 @@ #include #include #include -#include #include "protocol.h" 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" 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 #include -#include #include #include "protocol.h" 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 @@ #include #include -#include #include #include #include -#include -#include #include "protocol.h" #include "mib.h" diff --git a/net/mptcp/protocol.c b/net/mptcp/protocol.c index 99367c40de0d..3a1967bc7bad 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" -- 2.43.0