armv8m:fix warning up_get_cache_size defined but not used.
Signed-off-by: chenrun1 <chenrun1@xiaomi.com>
This commit is contained in:
parent
665a140b21
commit
823c3b32e7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user