Skip to content
Commit 85699f7c authored by Kumar Gala's avatar Kumar Gala Committed by Kumar Gala
Browse files

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: default avatarKumar Gala <kumar.gala@linaro.org>
parent a631e1a1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment