summaryrefslogtreecommitdiff
path: root/net/core
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
parent4c306a9291a077879fc3e933326caac3bc319caa (diff)
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')
-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 18fe20dacc6..a9e7fc4c461 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: