[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>
This commit is contained in:
committed by
Jeff Garzik
parent
05ff0e291a
commit
d5b20697ca
@ -101,9 +101,9 @@ Revision History:
|
||||
|
||||
#include "amd8111e.h"
|
||||
#define MODULE_NAME "amd8111e"
|
||||
#define MODULE_VERS "3.0.5"
|
||||
#define MODULE_VERS "3.0.6"
|
||||
MODULE_AUTHOR("Advanced Micro Devices, Inc.");
|
||||
MODULE_DESCRIPTION ("AMD8111 based 10/100 Ethernet Controller. Driver Version 3.0.3");
|
||||
MODULE_DESCRIPTION ("AMD8111 based 10/100 Ethernet Controller. Driver Version 3.0.6");
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_DEVICE_TABLE(pci, amd8111e_pci_tbl);
|
||||
module_param_array(speed_duplex, int, NULL, 0);
|
||||
@ -1527,7 +1527,6 @@ static void amd8111e_set_multicast_list(struct net_device *dev)
|
||||
u32 mc_filter[2] ;
|
||||
int i,bit_num;
|
||||
if(dev->flags & IFF_PROMISC){
|
||||
printk(KERN_INFO "%s: Setting promiscuous mode.\n",dev->name);
|
||||
writel( VAL2 | PROM, lp->mmio + CMD2);
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user