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

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

diff -u --recursive --new-file v1.3.52/linux/drivers/net/net_init.c linux/drivers/net/net_init.c
@@ -237,7 +237,6 @@
 	return 0;
 }
 
-#ifdef CONFIG_MODULES
 int register_netdev(struct device *dev)
 {
 	struct device *d = dev_base;
@@ -357,8 +356,6 @@
 
 	restore_flags(flags);
 }
-#endif		/* CONFIG_MODULES */
-
 
 
 /*

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