Staging: wlan-ng: Eliminate all backwards-compatible kernel code.
[pandora-kernel.git] / drivers / staging / wlan-ng / prism2_usb.c
index f1ae371..8d4959f 100644 (file)
@@ -132,9 +132,7 @@ static int prism2sta_probe_usb(
                }
        }
 
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,15))
        usb_get_dev(dev);
-#endif
 
        wlandev->msdstate = WLAN_MSD_HWPRESENT;
 
@@ -254,9 +252,7 @@ prism2sta_disconnect_usb(struct usb_interface *interface)
                unregister_wlandev(wlandev);
                wlan_unsetup(wlandev);
 
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,15))
                usb_put_dev(hw->usb);
-#endif
 
                hfa384x_destroy(hw);
                kfree(hw);
@@ -272,9 +268,6 @@ prism2sta_disconnect_usb(struct usb_interface *interface)
 
 
 static struct usb_driver prism2_usb_driver = {
-#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,16))
-       .owner = THIS_MODULE,
-#endif
        .name = "prism2_usb",
        .probe = prism2sta_probe_usb,
        .disconnect = prism2sta_disconnect_usb,