remove ip.h header file

The struct ip_options declared in ip.h is only unsed in the optlength
macro which is also defined in ip.h and not used in the driver code.
All other definitions/declarations in ip.h are duplicated from
<include/uapi/linux/ip.h>. Remove the ip.h header file and its includes.

Link: https://lore.kernel.org/r/20210824123621.10801-3-straube.linux@gmail.com
This commit is contained in:
Michael Straube
2021-08-24 14:36:20 +02:00
committed by Carlos Garces
parent 60aa279428
commit fe7007c52d
4 changed files with 0 additions and 138 deletions

View File

@@ -17,7 +17,6 @@
#ifdef __KERNEL__
#include <linux/version.h>
#include <linux/if_arp.h>
#include <net/ip.h>
#if (LINUX_VERSION_CODE < KERNEL_VERSION(5, 15, 0))
#include <net/ipx.h>
#endif