patch-1.3.18 linux/drivers/net/net_init.c

Next file: linux/drivers/net/plip.c
Previous file: linux/drivers/net/ne.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.17/linux/drivers/net/net_init.c linux/drivers/net/net_init.c
@@ -312,8 +312,6 @@
 	save_flags(flags);
 	cli();
 
-	printk("unregister_netdev: device ");
-
 	if (dev == NULL) 
 	{
 		printk("was NULL\n");
@@ -333,11 +331,10 @@
 		if (d && (d->next == dev)) 
 		{
 			d->next = dev->next;
-			printk("'%s' unlinked\n", dev->name);
 		}
 		else 
 		{
-			printk("'%s' not found\n", dev->name);
+			printk("unregister_netdev: '%s' not found\n", dev->name);
 			restore_flags(flags);
 			return;
 		}

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this