[PATCH v2 02/10] net: ethernet: ixgbe: don't call devm_mdiobus_free()

Florian Fainelli f.fainelli at gmail.com
Mon Jun 29 12:58:26 EDT 2020

On 6/29/2020 5:03 AM, Bartosz Golaszewski wrote:
> From: Bartosz Golaszewski <bgolaszewski at baylibre.com>
> The idea behind devres is that the release callbacks are called if
> probe fails. As we now check the return value of ixgbe_mii_bus_init(),
> we can drop the call devm_mdiobus_free() in error path as the release
> callback will be called automatically.
> Signed-off-by: Bartosz Golaszewski <bgolaszewski at baylibre.com>

Reviewed-by: Florian Fainelli <f.fainelli at gmail.com>

More information about the linux-arm-kernel mailing list