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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user