]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
sim: m32r: drop duplicate dv_sockser_install call
authorMike Frysinger <vapier@gentoo.org>
Mon, 23 Mar 2015 02:45:47 +0000 (22:45 -0400)
committerMike Frysinger <vapier@gentoo.org>
Tue, 24 Mar 2015 04:26:31 +0000 (00:26 -0400)
Since sim_module_install takes care of this for us, there's no need
to initialize the module twice.

sim/m32r/ChangeLog
sim/m32r/sim-if.c

index 530e76894562629069c3c4ae3e9aece8aade7063..96a3705700026cb91e82038531e0e275bc45abf3 100644 (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.
index 9385ccccd6d18ec4fb81f006f16e4848947167cf..d01bc0a5573c64c031d9fe2debb6c90573fcde16 100644 (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