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:
parent
8867635903
commit
9a52ef3f1d
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user