summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/4a-hal-manager/4a-hal-manager.c9
-rw-r--r--src/4a-internals-hal/4a-internals-hal-api-loader.c9
2 files changed, 0 insertions, 18 deletions
diff --git a/src/4a-hal-manager/4a-hal-manager.c b/src/4a-hal-manager/4a-hal-manager.c
index ce1aed5..cd6f981 100644
--- a/src/4a-hal-manager/4a-hal-manager.c
+++ b/src/4a-hal-manager/4a-hal-manager.c
@@ -29,9 +29,6 @@
#include "4a-hal-manager.h"
#include "4a-hal-manager-cb.h"
-// Default api to print log when apihandle not available
-afb_api_t AFB_default;
-
/*******************************************************************************
* HAL Manager verbs table *
******************************************************************************/
@@ -61,9 +58,6 @@ static int HalMgrInitApi(afb_api_t apiHandle)
if(! apiHandle)
return -1;
- // Hugely hack to make all V2 AFB_DEBUG to work in fileutils
- AFB_default = apiHandle;
-
// Retrieve section config from api handle
halMgrData = (struct HalMgrData *) afb_api_get_userdata(apiHandle);
if(! halMgrData)
@@ -134,9 +128,6 @@ int afbBindingEntry(afb_api_t apiHandle)
if(! apiHandle)
return -1;
- // Hugely hack to make all V2 AFB_DEBUG to work in fileutils
- AFB_default = apiHandle;
-
AFB_API_NOTICE(apiHandle, "Binding start");
halMgrData = (struct HalMgrData *) calloc(1, sizeof(struct HalMgrData));
diff --git a/src/4a-internals-hal/4a-internals-hal-api-loader.c b/src/4a-internals-hal/4a-internals-hal-api-loader.c
index 93628eb..9d3912e 100644
--- a/src/4a-internals-hal/4a-internals-hal-api-loader.c
+++ b/src/4a-internals-hal/4a-internals-hal-api-loader.c
@@ -32,9 +32,6 @@
#include "4a-internals-hal-cb.h"
#include "4a-internals-hal-mixer-link.h"
-// Default api to print log when apihandle not available
-afb_api_t AFB_default;
-
/*******************************************************************************
* Json parsing functions using controller *
******************************************************************************/
@@ -77,9 +74,6 @@ static int InternalHalInitOneApi(afb_api_t apiHandle)
if(! apiHandle)
return -1;
- // Hugely hack to make all V2 AFB_DEBUG to work in fileutils
- AFB_default = apiHandle;
-
// Retrieve section config from api handle
ctrlConfig = (CtlConfigT *) afb_api_get_userdata(apiHandle);
if(! ctrlConfig)
@@ -223,9 +217,6 @@ int InternalHalCreateAllApi(afb_api_t apiHandle, struct HalMgrData *halMgrData)
if(! apiHandle || ! halMgrData)
return -1;
- // Hugely hack to make all V2 AFB_DEBUG to work in fileutils
- AFB_default = apiHandle;
-
AFB_API_NOTICE(apiHandle, "Begining to create all APIs");
dirList = getenv("CONTROL_CONFIG_PATH");