Re: [PATCH net-next] net: Do not return value from init_dummy_netdev()

From: Simon Horman
Date: Tue Feb 06 2024 - 15:48:06 EST


On Mon, Feb 05, 2024 at 12:30:22PM +0200, Amit Cohen wrote:
> init_dummy_netdev() always returns zero and all the callers do not check
> the returned value. Set the function to not return value, as it is not
> really used today.
>
> Signed-off-by: Amit Cohen <amcohen@xxxxxxxxxx>
> Reviewed-by: Ido Schimmel <idosch@xxxxxxxxxx>
> Reviewed-by: Jiri Pirko <jiri@xxxxxxxxxx>

Reviewed-by: Simon Horman <horms@xxxxxxxxxx>