Commit b4a814d4a99508ba9070c85deb19ce8a64154721

Authored by Tobias Klauser
Committed by Greg Kroah-Hartman
1 parent 22981e0e5a

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>

Showing 1 changed file with 0 additions and 5 deletions Side-by-side Diff

drivers/staging/vt6655/device.h
... ... @@ -55,12 +55,7 @@
55 55 #include <linux/proc_fs.h>
56 56 #include <linux/inetdevice.h>
57 57 #include <linux/reboot.h>
58   -#ifdef SIOCETHTOOL
59   -#define DEVICE_ETHTOOL_IOCTL_SUPPORT
60 58 #include <linux/ethtool.h>
61   -#else
62   -#undef DEVICE_ETHTOOL_IOCTL_SUPPORT
63   -#endif
64 59 /* Include Wireless Extension definition and check version - Jean II */
65 60 #include <linux/wireless.h>
66 61 #include <net/iw_handler.h> // New driver API