From: H Hartley Sweeten Date: Tue, 14 May 2013 20:28:02 +0000 (-0700) Subject: staging: comedi: usbduxfast: remove 'owner' from usb_driver X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=2e7a3099c2bbae0cb0d9ce055343e728e44e7691;p=linux-beck.git staging: comedi: usbduxfast: remove 'owner' from usb_driver The struct usb_driver does not have an 'owner' field. Remove the code in this driver that initializes it. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/usbduxfast.c b/drivers/staging/comedi/drivers/usbduxfast.c index 7660976cfd11..1cd6d9252805 100644 --- a/drivers/staging/comedi/drivers/usbduxfast.c +++ b/drivers/staging/comedi/drivers/usbduxfast.c @@ -1613,9 +1613,6 @@ static const struct usb_device_id usbduxfast_usb_table[] = { MODULE_DEVICE_TABLE(usb, usbduxfast_usb_table); static struct usb_driver usbduxfast_usb_driver = { -#ifdef COMEDI_HAVE_USB_DRIVER_OWNER - .owner = THIS_MODULE, -#endif .name = "usbduxfast", .probe = usbduxfast_usb_probe, .disconnect = usbduxfast_usb_disconnect,