patch-2.0.25 linux/net/core/dev.c

Next file: linux/net/ipv4/icmp.c
Previous file: linux/net/bridge/br.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.24/linux/net/core/dev.c linux/net/core/dev.c
@@ -1110,7 +1110,7 @@
 
 #ifdef CONFIG_NET_ALIAS
 			  	if (net_alias_is(dev))
-			    	net_alias_dev_rehash(dev ,&ifr.ifr_addr);
+				    	net_alias_dev_rehash(dev ,&ifr.ifr_addr);
 #endif
 				dev->pa_addr = new_pa_addr;
 				dev->family = new_family;
@@ -1200,7 +1200,7 @@
 		case SIOCSIFMTU:	/* Set the MTU of a device */
 		
 			if (dev->change_mtu)
-				ret = (*dev->change_mtu)(dev, ifr.ifr_mtu);
+				ret = dev->change_mtu(dev, ifr.ifr_mtu);
 			else
 			{
 				/*
@@ -1367,7 +1367,6 @@
  *
  */
 extern int lance_init(void);
-extern int ni65_init(void);
 extern int pi_init(void);
 extern void sdla_setup(void);
 extern int dlci_setup(void);
@@ -1397,9 +1396,6 @@
 	 */
 #if defined(CONFIG_LANCE)
 	lance_init();
-#endif
-#if defined(CONFIG_NI65)
-	ni65_init();
 #endif
 #if defined(CONFIG_PI)
 	pi_init();

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov