mirror of
https://github.com/torvalds/linux.git
synced 2026-09-23 14:54:20 -04:00
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: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
@@ -882,9 +882,6 @@ static void dt9812_disconnect(struct usb_interface *interface)
|
||||
}
|
||||
|
||||
static struct usb_driver dt9812_usb_driver = {
|
||||
#ifdef COMEDI_HAVE_USB_DRIVER_OWNER
|
||||
.owner = THIS_MODULE,
|
||||
#endif
|
||||
.name = "dt9812",
|
||||
.probe = dt9812_probe,
|
||||
.disconnect = dt9812_disconnect,
|
||||
|
||||
Reference in New Issue
Block a user