From: Joe Perches Date: Mon, 20 Dec 2010 18:30:06 +0000 (-0800) Subject: pktgen: Remove unnecessary prefix from pr_ X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=58231186c4532821cb815a3a3248ca02ce5f6f0d;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git pktgen: Remove unnecessary prefix from pr_ Remove "pktgen: " prefix string from one pr_info. pr_fmt adds it, so this is a duplicate. Signed-off-by: Joe Perches Signed-off-by: David S. Miller --- diff --git a/net/core/pktgen.c b/net/core/pktgen.c index 18fe20dacc60..a9e7fc4c461f 100644 --- a/net/core/pktgen.c +++ b/net/core/pktgen.c @@ -3553,8 +3553,7 @@ static void pktgen_xmit(struct pktgen_dev *pkt_dev) break; default: /* Drivers are not supposed to return other values! */ if (net_ratelimit()) - pr_info("pktgen: %s xmit error: %d\n", - pkt_dev->odevname, ret); + pr_info("%s xmit error: %d\n", pkt_dev->odevname, ret); pkt_dev->errors++; /* fallthru */ case NETDEV_TX_LOCKED: