commit | 85699f7c6fb114a4650a46e9efe227a05a0f63e5 | [log] [tgz] |
---|---|---|
author | Kumar Gala <kumar.gala@linaro.org> | Thu May 17 09:26:03 2018 -0500 |
committer | Kumar Gala <kumar.gala@gmail.com> | Thu May 17 13:06:48 2018 -0500 |
tree | b127df5a75708fd1f8abf7bb07b68885879f326f | |
parent | a631e1a1e4fdc5173972dd28db5fd87d3537d305 [diff] |
kernel: Fix compile warning with _impl_k_object_alloc We get the following warning with CONFIG_DYNAMIC_OBJECTS=n in _impl_k_object_alloc: include/kernel.h:322:57: warning: unused parameter ‘otype’ [-Wunused-parameter] static inline void *_impl_k_object_alloc(enum k_objects otype) ^~~~~ Simple fix is to ARG_UNUSED otype. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>