summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2008-11-19 01:12:15 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2009-01-06 21:52:23 (GMT)
commit9a52ef3f1d433d1c6302fbae114d48665f1c6008 (patch)
treeac73fe89a98dc9ebef71b8578e19205dc0950f50
parent8867635903ea4c52776820954ae7aaaca1e438cb (diff)
downloadlinux-fsl-qoriq-9a52ef3f1d433d1c6302fbae114d48665f1c6008.tar.xz
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>
-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 70ea748..f2d2173 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,