Staging: vt6656 remove unneeded version.h and version check
authorShawn Bohrer <shawn.bohrer@gmail.com>
Mon, 26 Oct 2009 03:46:50 +0000 (22:46 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 11 Dec 2009 20:23:17 +0000 (12:23 -0800)
Signed-off-by: Shawn Bohrer <shawn.bohrer@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/vt6656/device.h
drivers/staging/vt6656/main_usb.c

index b4d8ed9b28a16c3241d06496fe2d9b87e8cd728b..8b541d1d0e23b15948bdac6944d9b68d45b44975 100644 (file)
@@ -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>
index c147300831344a1a55f8855006ca12e5f9c652e7..3c1efaa6e4b6209bbc0c2e979f82b0d0e316dfa3 100644 (file)
@@ -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