lib: Remove array_n_elements() from internal header
It's unused.
This commit is contained in:
parent
7e5661caff
commit
933fab6ed4
1 changed files with 0 additions and 2 deletions
|
@ -35,8 +35,6 @@
|
|||
#include "fprint.h"
|
||||
#include "drivers/driver_ids.h"
|
||||
|
||||
#define array_n_elements(array) G_N_ELEMENTS(array)
|
||||
|
||||
#define container_of(ptr, type, member) ({ \
|
||||
const typeof( ((type *)0)->member ) *__mptr = (ptr); \
|
||||
(type *)( (char *)__mptr - offsetof(type,member) );})
|
||||
|
|
Loading…
Reference in a new issue