[PATCH 2/6] or1k/shared/cache/cache.c: Remove unused methods
Martin Erik Werner
martinerikwerner.aac at gmail.com
Mon Oct 8 14:37:33 UTC 2018
On Mon, 2018-10-08 at 15:28 +0200, Sebastian Huber wrote:
> Are the intentionally unused or is there some bug and the generic cache
> manager doesn't use them accidentally?
I think that when I added the range support to the or1k cache helpers I
left the 1-line functions there since I was unaware that they would be
completely non-visible to upper layers (right?). As far as I can tell
they can be removed.
Whilst looking, I saw that something like this is also present in
CPU_CACHE_SUPPORT_PROVIDES_RANGE_FUNCTIONS is set via indirection
there, so it might be a special case?
Martin Erik Werner <martinerikwerner.aac at gmail.com>
ÅAC Microtec AB | Clyde Space Ltd.
More information about the devel