Subject: Re: [PATCH] net: mdio: mvusb: drop redundant device reference

From: Jakub Kicinski <[email-masked]>
Date: Fri, 6 Mar 2026 19:19:22 -0800

On Thu,  5 Mar 2026 11:47:22 +0100 Johan Hovold wrote:
>  	ret = of_mdiobus_register(mdio, dev->of_node);
>  	if (ret)
> -		goto put_dev;
> +		return ret;
>  
>  	return 0;
> -
> -put_dev:
> -	usb_put_dev(mvusb->udev);
> -	return ret;

better still:

	return of_mdiobus_register(mdio, dev->of_node);

and you can remove int ret; as well