Commit 64bf88bf authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman

staging: comedi: usbduxfast: remove COMEDI_DEBUG noise in usb (*probe)

The COMEDI_DEBUG noise in the usb (*probe) is just added function
trace noise. Remove it along with the final dev_info().
Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 998bb7be
...@@ -1500,10 +1500,7 @@ static int usbduxfast_usb_probe(struct usb_interface *uinterf, ...@@ -1500,10 +1500,7 @@ static int usbduxfast_usb_probe(struct usb_interface *uinterf,
"This driver needs USB 2.0 to operate. Aborting...\n"); "This driver needs USB 2.0 to operate. Aborting...\n");
return -ENODEV; return -ENODEV;
} }
#ifdef CONFIG_COMEDI_DEBUG
printk(KERN_DEBUG "comedi_: usbduxfast_: finding a free structure for "
"the usb-device\n");
#endif
down(&start_stop_sem); down(&start_stop_sem);
/* look for a free place in the usbduxfast array */ /* look for a free place in the usbduxfast array */
index = -1; index = -1;
...@@ -1521,10 +1518,6 @@ static int usbduxfast_usb_probe(struct usb_interface *uinterf, ...@@ -1521,10 +1518,6 @@ static int usbduxfast_usb_probe(struct usb_interface *uinterf,
up(&start_stop_sem); up(&start_stop_sem);
return -EMFILE; return -EMFILE;
} }
#ifdef CONFIG_COMEDI_DEBUG
printk(KERN_DEBUG "comedi_: usbduxfast: usbduxfastsub[%d] is ready to "
"connect to comedi.\n", index);
#endif
sema_init(&(usbduxfastsub[index].sem), 1); sema_init(&(usbduxfastsub[index].sem), 1);
/* save a pointer to the usb device */ /* save a pointer to the usb device */
...@@ -1540,10 +1533,6 @@ static int usbduxfast_usb_probe(struct usb_interface *uinterf, ...@@ -1540,10 +1533,6 @@ static int usbduxfast_usb_probe(struct usb_interface *uinterf,
*/ */
usb_set_intfdata(uinterf, &(usbduxfastsub[index])); usb_set_intfdata(uinterf, &(usbduxfastsub[index]));
#ifdef CONFIG_COMEDI_DEBUG
printk(KERN_DEBUG "comedi_: usbduxfast: ifnum=%d\n",
usbduxfastsub[index].ifnum);
#endif
/* create space for the commands going to the usb device */ /* create space for the commands going to the usb device */
usbduxfastsub[index].dux_commands = kmalloc(SIZEOFDUXBUFFER, usbduxfastsub[index].dux_commands = kmalloc(SIZEOFDUXBUFFER,
GFP_KERNEL); GFP_KERNEL);
...@@ -1598,9 +1587,6 @@ static int usbduxfast_usb_probe(struct usb_interface *uinterf, ...@@ -1598,9 +1587,6 @@ static int usbduxfast_usb_probe(struct usb_interface *uinterf,
return ret; return ret;
} }
dev_info(&uinterf->dev,
"usbduxfast%d has been successfully initialized.\n", index);
return comedi_usb_auto_config(uinterf, &usbduxfast_driver, 0); return comedi_usb_auto_config(uinterf, &usbduxfast_driver, 0);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment