Re: [PATCH] MIPS: ralink: Use min() to simplify code in rt_timer_config()

From: Sergio Paracuellos
Date: Thu Jun 19 2025 - 11:11:23 EST


Hi,

On Wed, Jun 18, 2025 at 2:21 PM wangyufei <wangyufei@xxxxxxxx> wrote:
>
> Use min() to simplify rt_timer_config() and improve its readability.
>
> Signed-off-by: wangyufei <wangyufei@xxxxxxxx>
> ---
> arch/mips/ralink/timer.c | 5 +----
> 1 file changed, 1 insertion(+), 4 deletions(-)

I personally like the code as it is because it is more readable at
least to my eyes :)

Thanks,
Sergio Paracuellos