summaryrefslogtreecommitdiffstats
path: root/src/4a-internals-hal/4a-internals-hal-api-loader.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/4a-internals-hal/4a-internals-hal-api-loader.c')
-rw-r--r--src/4a-internals-hal/4a-internals-hal-api-loader.c9
1 files changed, 0 insertions, 9 deletions
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");