summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShawn Bohrer <shawn.bohrer@gmail.com>2009-10-26 04:46:50 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2009-12-11 21:23:17 +0100
commit42caa16a70b875bb171874af329c7575fa10c091 (patch)
treea2706ddc822d56cd7dbd215799447935d69c4ec5
parentStaging: vt6655 remove unneeded version.h (diff)
downloadlinux-42caa16a70b875bb171874af329c7575fa10c091.tar.xz
linux-42caa16a70b875bb171874af329c7575fa10c091.zip
Staging: vt6656 remove unneeded version.h and version check
Signed-off-by: Shawn Bohrer <shawn.bohrer@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--drivers/staging/vt6656/device.h1
-rw-r--r--drivers/staging/vt6656/main_usb.c6
2 files changed, 0 insertions, 7 deletions
diff --git a/drivers/staging/vt6656/device.h b/drivers/staging/vt6656/device.h
index b4d8ed9b28a1..8b541d1d0e23 100644
--- a/drivers/staging/vt6656/device.h
+++ b/drivers/staging/vt6656/device.h
@@ -44,7 +44,6 @@
#include <linux/timer.h>
#include <linux/slab.h>
#include <linux/interrupt.h>
-#include <linux/version.h>
#include <linux/string.h>
#include <linux/wait.h>
#include <linux/if_arp.h>
diff --git a/drivers/staging/vt6656/main_usb.c b/drivers/staging/vt6656/main_usb.c
index c14730083134..3c1efaa6e4b6 100644
--- a/drivers/staging/vt6656/main_usb.c
+++ b/drivers/staging/vt6656/main_usb.c
@@ -807,12 +807,6 @@ vntwusb_found1(struct usb_interface *intf, const struct usb_device_id *id)
kfree(pDevice);
return -ENODEV;
}
- //2008-0623-02<Remark>by MikeLiu
- //2007-0821-01<Add>by MikeLiu
- //#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,21)
- //usb_set_intfdata(intf, pDevice);
- //SET_NETDEV_DEV(netdev, &intf->dev);
- //#endif
//2008-07-21-01<Add>by MikeLiu
//register wpadev