Skip to content

Commit

Permalink
Staging: comedi: dt9812: remove #ifdef that is not needed
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Greg Kroah-Hartman committed Jan 6, 2009
1 parent 8867635 commit 9a52ef3
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/staging/comedi/drivers/dt9812.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 9a52ef3

Please sign in to comment.