On 26/03/2020 17:17, Dario Faggioli wrote:
> It seems that we took this code from Linux, back when the function was
> 'unsigned int' and the return value was used.
>
> But we are currently not doing anything with such value, so let's get
> rid of it and make the function void. As an anecdote, that's pretty much
> the same that happened in Linux as, since commit 807e9bc8e2fe6 ("x86/CPU:
> Move cpu_detect_cache_sizes() into init_intel_cacheinfo()") the function
> is void there too.
>
> Signed-off-by: Dario Faggioli <[email protected]>Reviewed-by: Andrew Cooper <[email protected]> Furthermore, Shanghai already uses this in its form.
