Commit 2a2fc644 authored by Andy Gospodarek's avatar Andy Gospodarek Committed by Jeff Garzik
Browse files

[PATCH] 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.

Signed-off-by: default avatarAndy Gospodarek <andy@greyhouse.net>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent 9f486ae1
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;