Re: [PATCH v4 20/20] ratelimit: Drop redundant accesses to burst

From: Petr Mladek
Date: Mon May 05 2025 - 07:17:14 EST


On Tue 2025-04-29 18:05:24, Paul E. McKenney wrote:
> Now that there is the "burst <= 0" fastpath, for all later code, burst
> must be strictly greater than zero. Therefore, drop the redundant checks
> of this local variable.
>
> Link: https://lore.kernel.org/all/fbe93a52-365e-47fe-93a4-44a44547d601@paulmck-laptop/
> Link: https://lore.kernel.org/all/20250423115409.3425-1-spasswolf@xxxxxx/
> Signed-off-by: Paul E. McKenney <paulmck@xxxxxxxxxx>

Looks good to me:

Reviewed-by: Petr Mladek <pmladek@xxxxxxxx>

Best Regards,
Petr