summaryrefslogtreecommitdiff
path: root/net/mpls
diff options
context:
space:
mode:
authorBartosz Golaszewski <bgolaszewski@baylibre.com>2020-06-29 14:03:38 +0200
committerDavid S. Miller <davem@davemloft.net>2020-06-30 15:57:34 -0700
commitd10d607f504bc7d0a6f69867a8eef0daa453dab7 (patch)
treebe911ce8ccdb250080eb703540c5bbb11fd106b0 /net/mpls
parent09ef193fef7efb0175a04634853862d717adbb95 (diff)
downloadlwn-d10d607f504bc7d0a6f69867a8eef0daa453dab7.tar.gz
lwn-d10d607f504bc7d0a6f69867a8eef0daa453dab7.zip
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/mpls')
0 files changed, 0 insertions, 0 deletions