cache: Do not warn on unused parameters
Silence the compiler complaining about unused parameters. Signed-off-by: Carlo Caione <ccaione@baylibre.com>
This commit is contained in:
parent
dba0f8d8dc
commit
6fed3fdb61
1 changed files with 12 additions and 0 deletions
|
@ -79,6 +79,8 @@ static inline int z_impl_sys_cache_data_all(int op)
|
|||
#if defined(CONFIG_CACHE_MANAGEMENT)
|
||||
return cache_data_all(op);
|
||||
#endif
|
||||
ARG_UNUSED(op);
|
||||
|
||||
return -ENOTSUP;
|
||||
}
|
||||
|
||||
|
@ -88,6 +90,10 @@ static inline int z_impl_sys_cache_data_range(void *addr, size_t size, int op)
|
|||
#if defined(CONFIG_CACHE_MANAGEMENT)
|
||||
return cache_data_range(addr, size, op);
|
||||
#endif
|
||||
ARG_UNUSED(addr);
|
||||
ARG_UNUSED(size);
|
||||
ARG_UNUSED(op);
|
||||
|
||||
return -ENOTSUP;
|
||||
}
|
||||
|
||||
|
@ -97,6 +103,8 @@ static inline int z_impl_sys_cache_instr_all(int op)
|
|||
#if defined(CONFIG_CACHE_MANAGEMENT)
|
||||
return cache_instr_all(op);
|
||||
#endif
|
||||
ARG_UNUSED(op);
|
||||
|
||||
return -ENOTSUP;
|
||||
}
|
||||
|
||||
|
@ -106,6 +114,10 @@ static inline int z_impl_sys_cache_instr_range(void *addr, size_t size, int op)
|
|||
#if defined(CONFIG_CACHE_MANAGEMENT)
|
||||
return cache_instr_range(addr, size, op);
|
||||
#endif
|
||||
ARG_UNUSED(addr);
|
||||
ARG_UNUSED(size);
|
||||
ARG_UNUSED(op);
|
||||
|
||||
return -ENOTSUP;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue