Private
Public Access
2
0

mraa_func.h: Remove unused code

Code crept in from ft4222 branch merge and is superflous becuase of the new
advance function structure

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
Brendan Le Foll
2015-10-06 11:51:00 +01:00
parent acfb74f04e
commit 529cf8a26e
3 changed files with 0 additions and 56 deletions

View File

@@ -50,7 +50,6 @@ mraa_board_t* plat = NULL;
// static mraa_board_t* current_plat = NULL;
static char platform_name[MAX_PLATFORM_NAME_LENGTH];
mraa_adv_func_t* advance_func;
static int num_i2c_devices = 0;
static int num_iio_devices = 0;
@@ -115,9 +114,6 @@ mraa_init()
PyEval_InitThreads();
#endif
advance_func = (mraa_adv_func_t*) malloc(sizeof(mraa_adv_func_t));
memset(advance_func, 0, sizeof(mraa_adv_func_t));
mraa_platform_t platform_type;
#if defined(X86PLAT)
// Use runtime x86 platform detection