Commit 933fab6e authored by Bastien Nocera's avatar Bastien Nocera

lib: Remove array_n_elements() from internal header

It's unused.
parent 7e5661ca
......@@ -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) );})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment