aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/flamegraph-record
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 /tools/perf/scripts/python/bin/flamegraph-record
parentnet: ethernet: ixgbe: check the return value of ixgbe_mii_bus_init() (diff)
downloadlinux-d10d607f504bc7d0a6f69867a8eef0daa453dab7.tar.gz
linux-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 'tools/perf/scripts/python/bin/flamegraph-record')
0 files changed, 0 insertions, 0 deletions