From 853b77a7bec90dde4b358d24c5dc2b67779e4588 Mon Sep 17 00:00:00 2001
From: Francesco Bronzino <bronzino@winlab.rutgers.edu>
Date: Tue, 24 Nov 2015 14:22:09 +0100
Subject: [PATCH] Fixing some pointer errors

---
 targets/SIMU/USER/oaisim_config.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/targets/SIMU/USER/oaisim_config.c b/targets/SIMU/USER/oaisim_config.c
index 747f932c12..4ecff99869 100644
--- a/targets/SIMU/USER/oaisim_config.c
+++ b/targets/SIMU/USER/oaisim_config.c
@@ -404,10 +404,6 @@ void set_log_from_enb_properties(Enb_properties_array_t *enb_properties)
   set_comp_log(PHY, enb_properties->properties[0]->phy_log_level,
                enb_properties->properties[0]->phy_log_verbosity, 1);
 
-  if (opt_enabled == 1 )
-    set_comp_log(OPT, enb_properties->properties[0]->opt_log_level,
-               enb_properties->properties[0]->opt_log_verbosity, 1);
-
 #else
   set_comp_log(PHY, LOG_INFO,   LOG_HIGH, 1);
 #endif
-- 
GitLab