sim: m32r: drop duplicate dv_sockser_install call

Since sim_module_install takes care of this for us, there's no need
to initialize the module twice.
This commit is contained in:
Mike Frysinger 2015-03-22 22:45:47 -04:00
parent 97f478c5a4
commit fe83b8a8d3
2 changed files with 4 additions and 8 deletions

View File

@ -1,3 +1,7 @@
2015-03-24 Mike Frysinger <vapier@gentoo.org>
* sim-if.c (sim_open): Delete dv_sockser_install call.
2015-03-24 Mike Frysinger <vapier@gentoo.org>
* configure: Regenerate.

View File

@ -86,14 +86,6 @@ sim_open (kind, callback, abfd, argv)
return 0;
}
#ifdef HAVE_DV_SOCKSER /* FIXME: was done differently before */
if (dv_sockser_install (sd) != SIM_RC_OK)
{
free_state (sd);
return 0;
}
#endif
#if 0 /* FIXME: 'twould be nice if we could do this */
/* These options override any module options.
Obviously ambiguity should be avoided, however the caller may wish to