summaryrefslogtreecommitdiff
path: root/drivers/staging
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2008-11-18 17:12:15 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2009-01-06 13:52:23 -0800
commit9a52ef3f1d433d1c6302fbae114d48665f1c6008 (patch)
treeac73fe89a98dc9ebef71b8578e19205dc0950f50 /drivers/staging
parent8867635903ea4c52776820954ae7aaaca1e438cb (diff)
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>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/comedi/drivers/dt9812.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/comedi/drivers/dt9812.c b/drivers/staging/comedi/drivers/dt9812.c
index 70ea748caab3..f2d2173d7219 100644
--- a/drivers/staging/comedi/drivers/dt9812.c
+++ b/drivers/staging/comedi/drivers/dt9812.c
@@ -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,