Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/rump/librump Remove routines which don't make sense (may...



details:   https://anonhg.NetBSD.org/src/rev/1a0479ae44a8
branches:  trunk
changeset: 784000:1a0479ae44a8
user:      pooka <pooka%NetBSD.org@localhost>
date:      Mon Jan 14 16:50:54 2013 +0000

description:
Remove routines which don't make sense (maybe they're some intermediate
phase of the component framework?)

diffstat:

 sys/rump/librump/rumpdev/rump_dev.c |  6 ++----
 sys/rump/librump/rumpnet/rump_net.c |  9 ++-------
 2 files changed, 4 insertions(+), 11 deletions(-)

diffs (69 lines):

diff -r 364ea1070755 -r 1a0479ae44a8 sys/rump/librump/rumpdev/rump_dev.c
--- a/sys/rump/librump/rumpdev/rump_dev.c       Mon Jan 14 16:48:08 2013 +0000
+++ b/sys/rump/librump/rumpdev/rump_dev.c       Mon Jan 14 16:50:54 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rump_dev.c,v 1.21 2013/01/14 16:45:47 pooka Exp $      */
+/*     $NetBSD: rump_dev.c,v 1.22 2013/01/14 16:50:54 pooka Exp $      */
 
 /*
  * Copyright (c) 2009 Antti Kantee.  All Rights Reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rump_dev.c,v 1.21 2013/01/14 16:45:47 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rump_dev.c,v 1.22 2013/01/14 16:50:54 pooka Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
@@ -36,7 +36,6 @@
 
 int nocomponent(void);
 int nocomponent() {return 0;}
-__weak_alias(rump_device_components,nocomponent);
 __weak_alias(buf_syncwait,nocomponent);
 
 const char *rootspec = "rump0a"; /* usually comes from config */
@@ -52,7 +51,6 @@
        config_init_mi();
 
        rump_component_init(RUMP_COMPONENT_DEV);
-       rump_device_components();
 
        rump_pdev_finalize();
 
diff -r 364ea1070755 -r 1a0479ae44a8 sys/rump/librump/rumpnet/rump_net.c
--- a/sys/rump/librump/rumpnet/rump_net.c       Mon Jan 14 16:48:08 2013 +0000
+++ b/sys/rump/librump/rumpnet/rump_net.c       Mon Jan 14 16:50:54 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rump_net.c,v 1.15 2013/01/14 16:48:08 pooka Exp $      */
+/*     $NetBSD: rump_net.c,v 1.16 2013/01/14 16:50:54 pooka Exp $      */
 
 /*
  * Copyright (c) 2008 Antti Kantee.  All Rights Reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rump_net.c,v 1.15 2013/01/14 16:48:08 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rump_net.c,v 1.16 2013/01/14 16:50:54 pooka Exp $");
 
 #include <sys/param.h>
 
@@ -41,10 +41,6 @@
 #include "rump_private.h"
 #include "rump_net_private.h"
 
-void nocomponent(void);
-void nocomponent() {}
-__weak_alias(rump_net_components,nocomponent);
-
 RUMP_COMPONENT(RUMP__FACTION_NET)
 {
 
@@ -60,5 +56,4 @@
        rump_component_init(RUMP_COMPONENT_NET_ROUTE);
        rump_component_init(RUMP_COMPONENT_NET_IF);
        rump_component_init(RUMP_COMPONENT_NET_IFCFG);
-       rump_net_components();
 }



Home | Main Index | Thread Index | Old Index