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:
parent
97f478c5a4
commit
fe83b8a8d3
2 changed files with 4 additions and 8 deletions
|
@ -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>
|
2015-03-24 Mike Frysinger <vapier@gentoo.org>
|
||||||
|
|
||||||
* configure: Regenerate.
|
* configure: Regenerate.
|
||||||
|
|
|
@ -86,14 +86,6 @@ sim_open (kind, callback, abfd, argv)
|
||||||
return 0;
|
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 */
|
#if 0 /* FIXME: 'twould be nice if we could do this */
|
||||||
/* These options override any module options.
|
/* These options override any module options.
|
||||||
Obviously ambiguity should be avoided, however the caller may wish to
|
Obviously ambiguity should be avoided, however the caller may wish to
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue