Skip to content

Commit

Permalink
pktgen: Remove unnecessary prefix from pr_<level>
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Joe Perches authored and David S. Miller committed Dec 20, 2010
1 parent 4c306a9 commit 5823118
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions net/core/pktgen.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 5823118

Please sign in to comment.