diff options
author | Bartosz Golaszewski <[email protected]> | 2020-06-29 14:03:38 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-06-30 15:57:34 -0700 |
commit | d10d607f504bc7d0a6f69867a8eef0daa453dab7 (patch) | |
tree | be911ce8ccdb250080eb703540c5bbb11fd106b0 /scripts/bpf_helpers_doc.py | |
parent | 09ef193fef7efb0175a04634853862d717adbb95 (diff) |
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions