From: Andy Gospodarek Date: Fri, 8 Sep 2006 12:41:48 +0000 (-0400) Subject: [PATCH] cleanup unnecessary forcedeth printk X-Git-Tag: upstream/snapshot3+hdmi~38325^2~42 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2a2fc64481ed48ef0952d03979b053d1e6ba89dc;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git [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 Signed-off-by: Jeff Garzik --- diff --git a/drivers/net/forcedeth.c b/drivers/net/forcedeth.c index e90d27b..59f9a51 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;