From 223293205a7265c8b02882461ba8996650048ade Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Mon, 11 Dec 2023 06:33:33 +0000
Subject: [PATCH] audio ok
---
kernel/include/uapi/linux/seg6_iptunnel.h | 21 ---------------------
1 files changed, 0 insertions(+), 21 deletions(-)
diff --git a/kernel/include/uapi/linux/seg6_iptunnel.h b/kernel/include/uapi/linux/seg6_iptunnel.h
index 09fb608..eb815e0 100644
--- a/kernel/include/uapi/linux/seg6_iptunnel.h
+++ b/kernel/include/uapi/linux/seg6_iptunnel.h
@@ -37,25 +37,4 @@
SEG6_IPTUN_MODE_L2ENCAP,
};
-#ifdef __KERNEL__
-
-static inline size_t seg6_lwt_headroom(struct seg6_iptunnel_encap *tuninfo)
-{
- int head = 0;
-
- switch (tuninfo->mode) {
- case SEG6_IPTUN_MODE_INLINE:
- break;
- case SEG6_IPTUN_MODE_ENCAP:
- head = sizeof(struct ipv6hdr);
- break;
- case SEG6_IPTUN_MODE_L2ENCAP:
- return 0;
- }
-
- return ((tuninfo->srh->hdrlen + 1) << 3) + head;
-}
-
-#endif
-
#endif
--
Gitblit v1.6.2