trace already adds a newline character for us, we
don't need to do it ourselves.

Signed-off-by: Felipe Balbi <[email protected]>
---
 drivers/usb/dwc3/gadget.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/dwc3/gadget.c
index 65c0dba346fe..77167f06f2df 100644
--- a/drivers/usb/dwc3/gadget.c
+++ b/drivers/usb/dwc3/gadget.c
@@ -1264,7 +1264,7 @@ int __dwc3_gadget_ep_set_halt(struct dwc3_ep *dep, int 
value, int protocol)
                                (!list_empty(&dep->started_list) ||
                                 !list_empty(&dep->pending_list)))) {
                        dwc3_trace(trace_dwc3_gadget,
-                                       "%s: pending request, cannot halt\n",
+                                       "%s: pending request, cannot halt",
                                        dep->name);
                        return -EAGAIN;
                }
-- 
2.8.0.rc2

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

Reply via email to