dev_dbg() already can state the function name.
No need to state it again explicitly.

Signed-off-by: Oliver Neukum <oneu...@suse.com>
---
 drivers/usb/serial/visor.c | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/drivers/usb/serial/visor.c b/drivers/usb/serial/visor.c
index 337a0be..b970ee9 100644
--- a/drivers/usb/serial/visor.c
+++ b/drivers/usb/serial/visor.c
@@ -244,8 +244,7 @@ static int visor_open(struct tty_struct *tty, struct 
usb_serial_port *port)
                result = usb_submit_urb(port->interrupt_in_urb, GFP_KERNEL);
                if (result)
                        dev_err(&port->dev,
-                           "%s - failed submitting interrupt urb, error %d\n",
-                                                       __func__, result);
+                           "failed submitting interrupt urb, error %d\n", 
result);
        }
 exit:
        return result;
@@ -284,12 +283,12 @@ static void visor_read_int_callback(struct urb *urb)
        case -ENOENT:
        case -ESHUTDOWN:
                /* this urb is terminated, clean up */
-               dev_dbg(&port->dev, "%s - urb shutting down with status: %d\n",
-                       __func__, status);
+               dev_dbg(&port->dev, "urb shutting down with status: %d\n",
+                       status);
                return;
        default:
-               dev_dbg(&port->dev, "%s - nonzero urb status received: %d\n",
-                       __func__, status);
+               dev_dbg(&port->dev, "nonzero urb status received: %d\n",
+                       status);
                goto exit;
        }
 
-- 
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to