summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/usbvision/usbvision-video.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/video/usbvision/usbvision-video.c')
-rw-r--r--linux/drivers/media/video/usbvision/usbvision-video.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/linux/drivers/media/video/usbvision/usbvision-video.c b/linux/drivers/media/video/usbvision/usbvision-video.c
index 073d30454..cd6c41d67 100644
--- a/linux/drivers/media/video/usbvision/usbvision-video.c
+++ b/linux/drivers/media/video/usbvision/usbvision-video.c
@@ -1625,19 +1625,10 @@ static struct usb_usbvision *usbvision_alloc(struct usb_device *dev)
{
struct usb_usbvision *usbvision;
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,15)
- if ((usbvision = kmalloc(sizeof(struct usb_usbvision), GFP_KERNEL)) ==
- NULL) {
- goto err_exit;
- }
-
- memset(usbvision, 0, sizeof(struct usb_usbvision));
-#else
if ((usbvision = kzalloc(sizeof(struct usb_usbvision), GFP_KERNEL)) ==
NULL) {
goto err_exit;
}
-#endif
usbvision->dev = dev;
@@ -1900,9 +1891,6 @@ static void __devexit usbvision_disconnect(struct usb_interface *intf)
}
static struct usb_driver usbvision_driver = {
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,16)
- .owner = THIS_MODULE,
-#endif
.name = "usbvision",
.id_table = usbvision_table,
.probe = usbvision_probe,