Commit 9a52ef3f authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

Staging: comedi: dt9812: remove #ifdef that is not needed

We don't need to set the owner field of the usb_driver structure
in the dt9812 driver.

Cc: Anders Blomdell <anders.blomdell@control.lth.se>
Cc: David Schleef <ds@schleef.org>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 88676359
...@@ -882,9 +882,6 @@ static void dt9812_disconnect(struct usb_interface *interface) ...@@ -882,9 +882,6 @@ static void dt9812_disconnect(struct usb_interface *interface)
} }
static struct usb_driver dt9812_usb_driver = { static struct usb_driver dt9812_usb_driver = {
#ifdef COMEDI_HAVE_USB_DRIVER_OWNER
.owner = THIS_MODULE,
#endif
.name = "dt9812", .name = "dt9812",
.probe = dt9812_probe, .probe = dt9812_probe,
.disconnect = dt9812_disconnect, .disconnect = dt9812_disconnect,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment