summaryrefslogtreecommitdiffstats
path: root/drivers/net/forcedeth.c
diff options
context:
space:
mode:
authorAndy Gospodarek <andy@greyhouse.net>2006-09-08 14:41:48 +0200
committerJeff Garzik <jeff@garzik.org>2006-09-11 15:06:34 +0200
commit2a2fc64481ed48ef0952d03979b053d1e6ba89dc (patch)
treeba43d147d00fbd4bd68285ce869c98be13967bb4 /drivers/net/forcedeth.c
parent[PATCH] Handle pci_enable_device() errors in resume (diff)
downloadlinux-2a2fc64481ed48ef0952d03979b053d1e6ba89dc.tar.xz
linux-2a2fc64481ed48ef0952d03979b053d1e6ba89dc.zip
[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: Andy Gospodarek <andy@greyhouse.net> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/forcedeth.c')
-rw-r--r--drivers/net/forcedeth.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/forcedeth.c b/drivers/net/forcedeth.c
index e90d27b78121..59f9a515c07c 100644
--- a/drivers/net/forcedeth.c
+++ b/drivers/net/forcedeth.c
@@ -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;