staging: vt6655: Remove unnecessary condition around include
ethtool (and SIOCETHTOOL in particular) is part of Linux since the pre-git era, it thus makes no sense no sense to make the include of linux/ethtool.h conditional. Also remove the unused define DEVICE_ETHTOOL_IOCTL_SUPPORT. Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
22981e0e5a
commit
b4a814d4a9
|
@ -55,12 +55,7 @@
|
|||
#include <linux/proc_fs.h>
|
||||
#include <linux/inetdevice.h>
|
||||
#include <linux/reboot.h>
|
||||
#ifdef SIOCETHTOOL
|
||||
#define DEVICE_ETHTOOL_IOCTL_SUPPORT
|
||||
#include <linux/ethtool.h>
|
||||
#else
|
||||
#undef DEVICE_ETHTOOL_IOCTL_SUPPORT
|
||||
#endif
|
||||
/* Include Wireless Extension definition and check version - Jean II */
|
||||
#include <linux/wireless.h>
|
||||
#include <net/iw_handler.h> // New driver API
|
||||
|
|
Loading…
Reference in New Issue