[PATCH 06/12] header: Remove skb_xmit_more()

Hauke Mehrtens <[email protected]>
Newsgroups org.kernel.vger.backports
Message-ID <[email protected]>
The xmit_more member was removed from struture sk_buff and the
skb_xmit_more() function is not used in backports any more, just remove
this code as it does not compile any more on kernel 5.2 and more recent.

Signed-off-by: Hauke Mehrtens <[email protected]>
---
 backport/backport-include/linux/skbuff.h          | 9 ---------
 patches/0059-skb_xmit_more/skb_no_xmit_more.cocci | 5 -----
 2 files changed, 14 deletions(-)
 delete mode 100644 patches/0059-skb_xmit_more/skb_no_xmit_more.cocci

diff --git a/backport/backport-include/linux/skbuff.h b/backport/backport-include/linux/skbuff.h
index 44b2a5de..de943916 100644
--- a/backport/backport-include/linux/skbuff.h
+++ b/backport/backport-include/linux/skbuff.h
@@ -200,15 +200,6 @@ static inline struct sk_buff *__pskb_copy_fclone(struct sk_buff *skb,
 struct sk_buff *skb_clone_sk(struct sk_buff *skb);
 #endif
 
-static inline bool skb_xmit_more(struct sk_buff *skb)
-{
-#if LINUX_VERSION_IS_LESS(3,18,0)
-	return false;
-#else
-	return skb->xmit_more;
-#endif
-}
-
 #if LINUX_VERSION_IS_LESS(3,19,0)
 /**
  * __dev_alloc_pages - allocate page for network Rx
diff --git a/patches/0059-skb_xmit_more/skb_no_xmit_more.cocci b/patches/0059-skb_xmit_more/skb_no_xmit_more.cocci
deleted file mode 100644
index bf7f22e2..00000000
--- a/patches/0059-skb_xmit_more/skb_no_xmit_more.cocci
+++ /dev/null
@@ -1,5 +0,0 @@
-@@
-struct sk_buff *skb;
-@@
--skb->xmit_more
-+skb_xmit_more(skb)
-- 
2.20.1

--
To unsubscribe from this list: send the line "unsubscribe backports" in
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.