Skip to contentSkip to conversation

cleanup unnecessary forcedeth printk

PATCH New Andy Gospodarek 1 participant 1 message Sep 8, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cleanup unnecessary forcedeth printk

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.

---

 forcedeth.c |    1 -
 1 files changed, 1 deletion(-)
drivers/net/forcedeth.c +0 -1
@@ -2032,7 +2032,6 @@ static void nv_set_multicast(struct net_
 	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;