diff options
author | Andy Gospodarek <andy@greyhouse.net> | 2006-09-11 17:39:18 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-09-12 11:45:19 -0400 |
commit | d5b20697ca37d80cc4ec2ba3c5ddf1339dc1d49a (patch) | |
tree | a5fa98145b1d95b84357157856517de8d0e31edf /drivers/net/amd8111e.c | |
parent | 05ff0e291af086f4325bac76abad250690bbbd63 (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/amd8111e.c')
-rw-r--r-- | drivers/net/amd8111e.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/amd8111e.c b/drivers/net/amd8111e.c index ed322a76980d..bffde2288630 100644 --- a/drivers/net/amd8111e.c +++ b/drivers/net/amd8111e.c | |||
@@ -101,9 +101,9 @@ Revision History: | |||
101 | 101 | ||
102 | #include "amd8111e.h" | 102 | #include "amd8111e.h" |
103 | #define MODULE_NAME "amd8111e" | 103 | #define MODULE_NAME "amd8111e" |
104 | #define MODULE_VERS "3.0.5" | 104 | #define MODULE_VERS "3.0.6" |
105 | MODULE_AUTHOR("Advanced Micro Devices, Inc."); | 105 | MODULE_AUTHOR("Advanced Micro Devices, Inc."); |
106 | MODULE_DESCRIPTION ("AMD8111 based 10/100 Ethernet Controller. Driver Version 3.0.3"); | 106 | MODULE_DESCRIPTION ("AMD8111 based 10/100 Ethernet Controller. Driver Version 3.0.6"); |
107 | MODULE_LICENSE("GPL"); | 107 | MODULE_LICENSE("GPL"); |
108 | MODULE_DEVICE_TABLE(pci, amd8111e_pci_tbl); | 108 | MODULE_DEVICE_TABLE(pci, amd8111e_pci_tbl); |
109 | module_param_array(speed_duplex, int, NULL, 0); | 109 | module_param_array(speed_duplex, int, NULL, 0); |
@@ -1527,7 +1527,6 @@ static void amd8111e_set_multicast_list(struct net_device *dev) | |||
1527 | u32 mc_filter[2] ; | 1527 | u32 mc_filter[2] ; |
1528 | int i,bit_num; | 1528 | int i,bit_num; |
1529 | if(dev->flags & IFF_PROMISC){ | 1529 | if(dev->flags & IFF_PROMISC){ |
1530 | printk(KERN_INFO "%s: Setting promiscuous mode.\n",dev->name); | ||
1531 | writel( VAL2 | PROM, lp->mmio + CMD2); | 1530 | writel( VAL2 | PROM, lp->mmio + CMD2); |
1532 | return; | 1531 | return; |
1533 | } | 1532 | } |