Skip to content

Commit

Permalink
[PATCH] cleanup unnecessary forcedeth printk
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andy Gospodarek authored and Jeff Garzik committed Sep 11, 2006
1 parent 9f486ae commit 2a2fc64
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/net/forcedeth.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2a2fc64

Please sign in to comment.