diff --git a/targets/SIMU/USER/oaisim.c b/targets/SIMU/USER/oaisim.c
index 9434b2dd83f5da25765c72978cf3402dc6d2e685..3a282e1d44ecaf3158d57b03889780f2eafa417e 100644
--- a/targets/SIMU/USER/oaisim.c
+++ b/targets/SIMU/USER/oaisim.c
@@ -988,7 +988,6 @@ l2l1_task (void *args_p)
   return NULL;
 }
 
-#if defined(FLEXRAN_AGENT_SB_IF)
 /*
  * The following two functions are meant to restart *the lte-softmodem* and are
  * here to make oaisim compile. A restart command from the controller will be
@@ -1005,7 +1004,6 @@ int restart_L1L2(int enb_id)
   LOG_W(FLEXRAN_AGENT, "restart_L1L2() not supported in oaisim\n");
   return 0;
 }
-#endif
 
 #if T_TRACER
 int T_wait = 1;       /* by default we wait for the tracer */