Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

net: dccp: drop unneeded newline

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>

authored by

Julia Lawall and committed by
David S. Miller
62262ffd 9540d977

+1 -1
+1 -1
net/dccp/ackvec.c
··· 228 228 } 229 229 230 230 if (num_cells + dccp_ackvec_buflen(av) >= DCCPAV_MAX_ACKVEC_LEN) { 231 - DCCP_CRIT("Ack Vector buffer overflow: dropping old entries\n"); 231 + DCCP_CRIT("Ack Vector buffer overflow: dropping old entries"); 232 232 av->av_overflow = true; 233 233 } 234 234