aboutsummaryrefslogtreecommitdiff
path: root/sim/common/sim-module.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-01-02 10:53:03 -0500
committerMike Frysinger <vapier@gentoo.org>2021-05-01 22:46:46 -0400
commit328e805b5a7d4f27552a1062e25a89477bd89009 (patch)
tree0532236be2a3d105034f3ed30e1e3b818fbc6b91 /sim/common/sim-module.c
parentadbaa7b838d3f6de95ca2ec15d9ca419a383d2d4 (diff)
downloadgdb-328e805b5a7d4f27552a1062e25a89477bd89009.zip
gdb-328e805b5a7d4f27552a1062e25a89477bd89009.tar.gz
gdb-328e805b5a7d4f27552a1062e25a89477bd89009.tar.bz2
sim: dv-sockser: localize init callback
Now that we don't need to hardcode the module init list in a single place, move the dv-sockser logic to the place to the one file.
Diffstat (limited to 'sim/common/sim-module.c')
-rw-r--r--sim/common/sim-module.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/sim/common/sim-module.c b/sim/common/sim-module.c
index a776a08..2557697 100644
--- a/sim/common/sim-module.c
+++ b/sim/common/sim-module.c
@@ -29,11 +29,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "sim-hw.h"
#endif
-#ifdef HAVE_DV_SOCKSER
-/* TODO: Shouldn't have device models here. */
-#include "dv-sockser.h"
-#endif
-
#include "libiberty.h"
#include <stdlib.h>
@@ -60,10 +55,6 @@ static MODULE_INSTALL_FN * const early_modules[] = {
#if WITH_HW
sim_hw_install,
#endif
-#ifdef HAVE_DV_SOCKSER
- /* TODO: Shouldn't have device models here. */
- dv_sockser_install,
-#endif
};
static int early_modules_len = ARRAY_SIZE (early_modules);