Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 005331f4 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

USB: ezusb.c: remove dbg() tracing calls



dbg() was used a lot a long time ago to trace code flow.  Now that we have
ftrace, this isn't needed at all, so remove these calls.

Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 4e512ab9
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -26,7 +26,6 @@ int ezusb_writememory(struct usb_serial *serial, int address,
	int result;
	unsigned char *transfer_buffer;

	/* dbg("ezusb_writememory %x, %d", address, length); */
	if (!serial->dev) {
		printk(KERN_ERR "ezusb: %s - no physical device present, "
		       "failing.\n", __func__);
@@ -50,7 +49,6 @@ int ezusb_set_reset(struct usb_serial *serial, unsigned char reset_bit)
{
	int response;

	/* dbg("%s - %d", __func__, reset_bit); */
	response = ezusb_writememory(serial, CPUCS_REG, &reset_bit, 1, 0xa0);
	if (response < 0)
		dev_err(&serial->dev->dev, "%s- %d failed\n",