]> git.karo-electronics.de Git - linux-beck.git/commitdiff
pktgen: Remove unnecessary prefix from pr_<level>
authorJoe Perches <joe@perches.com>
Mon, 20 Dec 2010 18:30:06 +0000 (10:30 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Dec 2010 18:30:06 +0000 (10:30 -0800)
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>
net/core/pktgen.c

index 18fe20dacc60f0e2176bfdad7eea199c7dafa744..a9e7fc4c461fa6679c39a51b214d242e1c22b873 100644 (file)
@@ -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: