From 58231186c4532821cb815a3a3248ca02ce5f6f0d Mon Sep 17 00:00:00 2001 From: Joe Perches Date: Mon, 20 Dec 2010 10:30:06 -0800 Subject: [PATCH] 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 --- net/core/pktgen.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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: -- 2.39.5