All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jakub Kicinski <kuba@kernel.org>
To: davem@davemloft.net
Cc: netdev@vger.kernel.org, edumazet@google.com, pabeni@redhat.com,
	Jakub Kicinski <kuba@kernel.org>,
	imagedong@tencent.com
Subject: [PATCH net-next 07/11] net: skbuff: drop the linux/sched.h include
Date: Wed, 25 Jan 2023 23:14:20 -0800	[thread overview]
Message-ID: <20230126071424.1250056-8-kuba@kernel.org> (raw)
In-Reply-To: <20230126071424.1250056-1-kuba@kernel.org>

linux/sched.h was added for skb_mstamp_* (all the way back
before linux/sched.h got split and linux/sched/clock.h created).
We don't need it in skbuff.h any more.

Sadly this change is currently a noop because linux/dma-mapping.h
and net/page_pool.h pull in half of the universe.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
---
CC: imagedong@tencent.com
---
 include/linux/skbuff.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h
index aa920591ba37..a1978adc5644 100644
--- a/include/linux/skbuff.h
+++ b/include/linux/skbuff.h
@@ -28,7 +28,6 @@
 #include <linux/hrtimer.h>
 #include <linux/dma-mapping.h>
 #include <linux/netdev_features.h>
-#include <linux/sched.h>
 #include <net/flow_dissector.h>
 #include <linux/splice.h>
 #include <linux/in6.h>
-- 
2.39.1


  parent reply	other threads:[~2023-01-26  7:14 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-26  7:14 [PATCH net-next 00/11] net: skbuff: clean up unnecessary includes Jakub Kicinski
2023-01-26  7:14 ` [PATCH net-next 01/11] net: add missing includes of linux/net.h Jakub Kicinski
2023-01-26  7:14 ` [PATCH net-next 02/11] net: skbuff: drop the linux/net.h include Jakub Kicinski
2023-01-26  7:14 ` [PATCH net-next 03/11] net: checksum: drop the linux/uaccess.h include Jakub Kicinski
2023-01-26  7:14 ` [PATCH net-next 04/11] net: skbuff: drop the linux/textsearch.h include Jakub Kicinski
2023-01-26  7:14 ` [PATCH net-next 05/11] net: add missing includes of linux/sched/clock.h Jakub Kicinski
2023-01-26  7:14 ` [PATCH net-next 06/11] net: skbuff: drop the linux/sched/clock.h include Jakub Kicinski
2023-01-26  7:14 ` Jakub Kicinski [this message]
2023-01-26  7:14 ` [PATCH net-next 08/11] net: add missing includes of linux/splice.h Jakub Kicinski
2023-01-27 12:35   ` Wenjia Zhang
2023-01-26  7:14 ` [PATCH net-next 09/11] net: skbuff: drop the linux/splice.h include Jakub Kicinski
2023-01-26  7:14 ` [PATCH net-next 10/11] net: skbuff: drop the linux/hrtimer.h include Jakub Kicinski
2023-01-26  7:14 ` [PATCH net-next 11/11] net: remove unnecessary includes from net/flow.h Jakub Kicinski
2023-01-27 12:10 ` [PATCH net-next 00/11] net: skbuff: clean up unnecessary includes patchwork-bot+netdevbpf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230126071424.1250056-8-kuba@kernel.org \
    --to=kuba@kernel.org \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=imagedong@tencent.com \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.