]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
media: pvrusb2: drop unneeded newline
authorJulia Lawall <Julia.Lawall@lip6.fr>
Wed, 27 Dec 2017 14:51:42 +0000 (09:51 -0500)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 3 Jan 2018 09:49:40 +0000 (04:49 -0500)
pvr2_trace prints a newline at the end of the message string, so the
message string does not need to include a newline explicitly.  Done
using Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/usb/pvrusb2/pvrusb2-hdw.c

index 09bd6c6c176cb43f858da0dc2f83d3f0f8b52545..e0353161ccd6ce9743adcf34f5cb6ecaabeacc2e 100644 (file)
@@ -2351,7 +2351,8 @@ struct pvr2_hdw *pvr2_hdw_create(struct usb_interface *intf,
 
        if (hdw_desc == NULL) {
                pvr2_trace(PVR2_TRACE_INIT, "pvr2_hdw_create: No device description pointer, unable to continue.");
-               pvr2_trace(PVR2_TRACE_INIT, "If you have a new device type, please contact Mike Isely <isely@pobox.com> to get it included in the driver\n");
+               pvr2_trace(PVR2_TRACE_INIT,
+                          "If you have a new device type, please contact Mike Isely <isely@pobox.com> to get it included in the driver");
                goto fail;
        }