Commit 53e2eed2 authored by Alan Cox's avatar Alan Cox Committed by Linus Torvalds

[PATCH] remove 2.2 bits fromw anpipe

parent 8dc6c284
......@@ -100,13 +100,9 @@ typedef struct
#define WAN_PACKET_MR_ALLMULTI 2
#ifdef __KERNEL__
#ifndef netdevice_t
#include <linux/version.h>
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,3,0)
#define netdevice_t struct net_device
#else
#define netdevice_t struct device
#endif
#define netdevice_t struct net_device
#endif
/* Private wanpipe socket structures. */
......
......@@ -19,11 +19,7 @@
#include <linux/version.h>
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,3,0)
#define netdevice_t struct net_device
#else
#define netdevice_t struct device
#endif
#define netdevice_t struct net_device
typedef struct {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment