armv8m:fix warning up_get_cache_size defined but not used.

Signed-off-by: chenrun1 <chenrun1@xiaomi.com>
This commit is contained in:
chenrun1 2023-06-08 18:44:26 +08:00 committed by Xiang Xiao
parent 665a140b21
commit 823c3b32e7

View File

@ -142,7 +142,6 @@ static size_t up_get_cache_linesize(bool icache)
return 1 << sshift;
}
#endif
/****************************************************************************
* Name: up_get_cache_size
@ -186,6 +185,7 @@ static size_t up_get_cache_size(bool icache)
return sets * ways * line;
}
#endif
/****************************************************************************
* Public Functions