summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulia Lawall <Julia.Lawall@lip6.fr>2017-12-27 15:51:36 +0100
committerDavid S. Miller <davem@davemloft.net>2018-01-02 19:49:32 +0100
commit62262ffd95fba33c2b0dfcbf3ef3a254101120c7 (patch)
tree4715669b19bf95cdf7ec7e4bcfeba9a14d3f04e1
parentnet: sched: fix skb leak in dev_requeue_skb() (diff)
downloadlinux-62262ffd95fba33c2b0dfcbf3ef3a254101120c7.tar.xz
linux-62262ffd95fba33c2b0dfcbf3ef3a254101120c7.zip
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>
-rw-r--r--net/dccp/ackvec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dccp/ackvec.c b/net/dccp/ackvec.c
index 3de0d0362d7f..2a24f7d171a5 100644
--- a/net/dccp/ackvec.c
+++ b/net/dccp/ackvec.c
@@ -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;
}