[PATCH] cleanup unnecessary forcedeth printk
authorAndy Gospodarek <andy@greyhouse.net>
Fri, 8 Sep 2006 12:41:48 +0000 (08:41 -0400)
committerJeff Garzik <jeff@garzik.org>
Mon, 11 Sep 2006 13:06:34 +0000 (09:06 -0400)
This removes unnecessary messages that show up every time I put my
ethernet card in promiscuous mode.  I'm already getting notification
from the networking layer, I don't need notification from the driver as
well.

There are probably other drivers that do this as well -- I'll look
around and see what I can find.

Signed-off-by: Andy Gospodarek <andy@greyhouse.net>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/forcedeth.c

index e90d27b..59f9a51 100644 (file)
@@ -2080,7 +2080,6 @@ static void nv_set_multicast(struct net_device *dev)
        memset(mask, 0, sizeof(mask));
 
        if (dev->flags & IFF_PROMISC) {
-               printk(KERN_NOTICE "%s: Promiscuous mode enabled.\n", dev->name);
                pff |= NVREG_PFF_PROMISC;
        } else {
                pff |= NVREG_PFF_MYADDR;