summaryrefslogtreecommitdiffstats
path: root/net/core/pktgen.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2010-12-20 10:30:06 -0800
committerDavid S. Miller <davem@davemloft.net>2010-12-20 10:30:06 -0800
commit58231186c4532821cb815a3a3248ca02ce5f6f0d (patch)
tree03c53b598c58ba1b2875d7f6ac69302346b517cd /net/core/pktgen.c
parent4c306a9291a077879fc3e933326caac3bc319caa (diff)
downloadop-kernel-dev-58231186c4532821cb815a3a3248ca02ce5f6f0d.zip
op-kernel-dev-58231186c4532821cb815a3a3248ca02ce5f6f0d.tar.gz
pktgen: Remove unnecessary prefix from pr_<level>
Remove "pktgen: " prefix string from one pr_info. pr_fmt adds it, so this is a duplicate. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/pktgen.c')
-rw-r--r--net/core/pktgen.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/core/pktgen.c b/net/core/pktgen.c
index 18fe20d..a9e7fc4 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:
OpenPOWER on IntegriCloud