From 550a2cc2ce2ed73ca234050ac1b7a7ddf044564a Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Fri, 19 Oct 2018 14:25:43 +0200 Subject: [PATCH] list: remote LIST_INIT() macro --- common/include/villas/list.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/common/include/villas/list.h b/common/include/villas/list.h index 4be9b6eef..93a7d7edb 100644 --- a/common/include/villas/list.h +++ b/common/include/villas/list.h @@ -41,14 +41,6 @@ extern "C" { #define LIST_CHUNKSIZE 16 /** Static list initialization */ -#define LIST_INIT() { \ - .array = NULL, \ - .length = 0, \ - .capacity = 0, \ - .lock = PTHREAD_MUTEX_INITIALIZER, \ - .state = STATE_INITIALIZED \ -} - #define LIST_INIT_STATIC(l) \ __attribute__((constructor(105))) static void UNIQUE(__ctor)() {\ if ((l)->state == STATE_DESTROYED) \