AP_Common: remove ARRAY_SIZE_SIMPLE

Now this is basically ARRAY_SIZE, so remove it.
This commit is contained in:
Lucas De Marchi 2018-08-02 16:28:34 -07:00 committed by Andrew Tridgell
parent 668c941717
commit 88df4d127e

View File

@ -73,9 +73,6 @@
#define ARRAY_SIZE(_arr) (sizeof(_arr) / sizeof(_arr[0]))
// simpler ARRAY_SIZE which can handle zero elements
#define ARRAY_SIZE_SIMPLE(_arr) (sizeof(_arr)/sizeof(_arr[0]))
/*
* See UNUSED_RESULT. The difference is that it receives @uniq_ as the name to
* be used for its internal variable.