aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ucc_geth.c
diff options
context:
space:
mode:
authorAndy Gospodarek <andy@greyhouse.net>2006-09-11 17:39:18 -0400
committerJeff Garzik <jeff@garzik.org>2006-09-12 11:45:19 -0400
commitd5b20697ca37d80cc4ec2ba3c5ddf1339dc1d49a (patch)
treea5fa98145b1d95b84357157856517de8d0e31edf /drivers/net/ucc_geth.c
parent05ff0e291af086f4325bac76abad250690bbbd63 (diff)
[PATCH] Remove more unnecessary driver printk's
As I promised last week, here is the first pass at removing all unnecessary printk's that exist in network device drivers currently in promiscuous mode. The duplicate messages are not needed so they have been removed. Some of these drivers are quite old and might not need an update, but I did them all anyway. I am currently auditing the remaining conditional printk's and will send out a patch for those soon. Signed-off-by: Andy Gospodarek <andy@greyhouse.net> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/ucc_geth.c')
-rw-r--r--drivers/net/ucc_geth.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/ucc_geth.c b/drivers/net/ucc_geth.c
index 47f49ef72bdc..4e188f4289b4 100644
--- a/drivers/net/ucc_geth.c
+++ b/drivers/net/ucc_geth.c
@@ -47,7 +47,7 @@
47 47
48#undef DEBUG 48#undef DEBUG
49 49
50#define DRV_DESC "QE UCC Gigabit Ethernet Controller version:June 20, 2006" 50#define DRV_DESC "QE UCC Gigabit Ethernet Controller version:Sept 11, 2006"
51#define DRV_NAME "ucc_geth" 51#define DRV_NAME "ucc_geth"
52 52
53#define ugeth_printk(level, format, arg...) \ 53#define ugeth_printk(level, format, arg...) \
@@ -2510,8 +2510,6 @@ static void ucc_geth_set_multi(struct net_device *dev)
2510 2510
2511 if (dev->flags & IFF_PROMISC) { 2511 if (dev->flags & IFF_PROMISC) {
2512 2512
2513 /* Log any net taps. */
2514 printk("%s: Promiscuous mode enabled.\n", dev->name);
2515 uf_regs->upsmr |= UPSMR_PRO; 2513 uf_regs->upsmr |= UPSMR_PRO;
2516 2514
2517 } else { 2515 } else {