diff options
author | Joe Perches <joe@perches.com> | 2010-12-20 19:30:06 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-12-20 19:30:06 +0100 |
commit | 58231186c4532821cb815a3a3248ca02ce5f6f0d (patch) | |
tree | 03c53b598c58ba1b2875d7f6ac69302346b517cd /net | |
parent | net: kill unused macros (diff) | |
download | linux-58231186c4532821cb815a3a3248ca02ce5f6f0d.tar.xz linux-58231186c4532821cb815a3a3248ca02ce5f6f0d.zip |
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')
-rw-r--r-- | net/core/pktgen.c | 3 |
1 files changed, 1 insertions, 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: |