kernel/include/uapi/linux/seg6_iptunnel.h
.. .. @@ -37,25 +37,4 @@ 37 37 SEG6_IPTUN_MODE_L2ENCAP, 38 38 }; 39 39 40 -#ifdef __KERNEL__41 -42 -static inline size_t seg6_lwt_headroom(struct seg6_iptunnel_encap *tuninfo)43 -{44 - int head = 0;45 -46 - switch (tuninfo->mode) {47 - case SEG6_IPTUN_MODE_INLINE:48 - break;49 - case SEG6_IPTUN_MODE_ENCAP:50 - head = sizeof(struct ipv6hdr);51 - break;52 - case SEG6_IPTUN_MODE_L2ENCAP:53 - return 0;54 - }55 -56 - return ((tuninfo->srh->hdrlen + 1) << 3) + head;57 -}58 -59 -#endif60 -61 40 #endif