Re: [PATCH] clk: sunxi-ng: mp: Avoid computing the rate twice

From: Stephen Boyd
Date: Mon Aug 15 2022 - 13:27:37 EST


Quoting Samuel Holland (2022-08-09 18:40:24)
> ccu_mp_find_best() already computes a best_rate at the same time as the
> best m and p factors. Return it so the caller does not need to duplicate
> the division.

Did the compiler figure this out and thus this patch makes no difference
to the final object code?