net: dccp: drop unneeded newline
authorJulia Lawall <Julia.Lawall@lip6.fr>
Wed, 27 Dec 2017 14:51:36 +0000 (15:51 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Jan 2018 18:49:32 +0000 (13:49 -0500)
DCCP_CRIT prints some other text and then a newline after 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: David S. Miller <davem@davemloft.net>
net/dccp/ackvec.c

index 3de0d0362d7fda81ff34926c6bac9e046b7552bc..2a24f7d171a5e3e4e8a33e8fbf6bda0b6e1fc49a 100644 (file)
@@ -228,7 +228,7 @@ static void dccp_ackvec_add_new(struct dccp_ackvec *av, u32 num_packets,
        }
 
        if (num_cells + dccp_ackvec_buflen(av) >= DCCPAV_MAX_ACKVEC_LEN) {
-               DCCP_CRIT("Ack Vector buffer overflow: dropping old entries\n");
+               DCCP_CRIT("Ack Vector buffer overflow: dropping old entries");
                av->av_overflow = true;
        }