summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorBartosz Golaszewski <bgolaszewski@baylibre.com>2020-06-29 15:03:38 +0300
committerDavid S. Miller <davem@davemloft.net>2020-07-01 01:57:34 +0300
commitd10d607f504bc7d0a6f69867a8eef0daa453dab7 (patch)
treebe911ce8ccdb250080eb703540c5bbb11fd106b0 /net
parent09ef193fef7efb0175a04634853862d717adbb95 (diff)
downloadlinux-d10d607f504bc7d0a6f69867a8eef0daa453dab7.tar.xz
net: ethernet: ixgbe: don't call devm_mdiobus_free()
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@baylibre.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions