]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - sim/ft32/interp.c
sim: cgen: move cgen_cpu_max_extra_bytes logic into the common code
[thirdparty/binutils-gdb.git] / sim / ft32 / interp.c
index 1b3db9bc00825fa07c506bdcd56660e5f467ff2c..ba2297f4078e53862b0f0b4b8520b3055088fb49 100644 (file)
@@ -807,7 +807,7 @@ sim_open (SIM_OPEN_KIND kind,
   SIM_DESC sd = sim_state_alloc (kind, cb);
 
   /* The cpu data is kept in a separately allocated chunk of memory.  */
-  if (sim_cpu_alloc_all (sd, 1, /*cgen_cpu_max_extra_bytes ()*/0) != SIM_RC_OK)
+  if (sim_cpu_alloc_all (sd, 1) != SIM_RC_OK)
     {
       free_state (sd);
       return 0;