Skip to content

Commit a4fc672

Browse files
moonlight83340danieldegrasse
authored andcommitted
arch: arm: core: cortex_m: mark unused function argument
Use ARG_UNUSED() to mark unused function argument. Signed-off-by: Gaetan Perrot <[email protected]>
1 parent 35b8ff4 commit a4fc672

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

arch/arm/core/cortex_m/cache.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,9 @@ int arch_icache_flush_and_invd_all(void)
9696

9797
int arch_icache_flush_range(void *start_addr, size_t size)
9898
{
99+
ARG_UNUSED(start_addr);
100+
ARG_UNUSED(size);
101+
99102
return -ENOTSUP;
100103
}
101104

@@ -108,6 +111,9 @@ int arch_icache_invd_range(void *start_addr, size_t size)
108111

109112
int arch_icache_flush_and_invd_range(void *start_addr, size_t size)
110113
{
114+
ARG_UNUSED(start_addr);
115+
ARG_UNUSED(size);
116+
111117
return -ENOTSUP;
112118
}
113119

0 commit comments

Comments
 (0)