Re: [PATCH net-next] net: lan966x: Change lan966x_police_del return type

From: Alvin Šipraga
Date: Sun Mar 12 2023 - 16:29:28 EST


On Sun, Mar 12, 2023 at 08:51:55PM +0100, Horatiu Vultur wrote:
> As the function always returns 0 change the return type to be
> void instead of int. In this way also remove a wrong message
> in case of error which would never happen.
>
> Signed-off-by: Horatiu Vultur <horatiu.vultur@xxxxxxxxxxxxx>
> ---

Reviewed-by: Alvin Šipraga <alsi@xxxxxxxxxxxxxxx>