summaryrefslogtreecommitdiffstats
path: root/drivers/net/Space.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2007-01-02 00:35:48 -0800
committerDavid S. Miller <davem@sunset.davemloft.net>2007-01-03 18:38:10 -0800
commit60903f2c6616939afd0335b49697beeb7219657e (patch)
tree99825b33f85dbb00f649f9c6e863861a8368ef0e /drivers/net/Space.c
parentee74baa7d83e9e0c2fdaff8122ee9cefd06cddc5 (diff)
[NET] drivers/net/loopback.c: convert to module_init()
This patch converts drivers/net/loopback.c to using module_init(). Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/Space.c')
-rw-r--r--drivers/net/Space.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/net/Space.c b/drivers/net/Space.c
index 602ed31a5dd..9305eb9b1b9 100644
--- a/drivers/net/Space.c
+++ b/drivers/net/Space.c
@@ -349,22 +349,11 @@ static void __init trif_probe2(int unit)
#endif
-/*
- * The loopback device is global so it can be directly referenced
- * by the network code. Also, it must be first on device list.
- */
-extern int loopback_init(void);
-
/* Statically configured drivers -- order matters here. */
static int __init net_olddevs_init(void)
{
int num;
- if (loopback_init()) {
- printk(KERN_ERR "Network loopback device setup failed\n");
- }
-
-
#ifdef CONFIG_SBNI
for (num = 0; num < 8; ++num)
sbni_probe(num);