diff options
author | 2021-08-17 20:38:01 -0700 | |
---|---|---|
committer | 2021-08-18 10:48:52 +0100 | |
commit | 663d946af5fb2fde0c0498f11fb295e9e8db979f (patch) | |
tree | 542188ca18febb94d19bdbb1a6d52533d07b7846 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: dsa: sja1105: fix use-after-free after calling of_find_compatible_node, or worse (diff) | |
download | wireguard-linux-663d946af5fb2fde0c0498f11fb295e9e8db979f.tar.xz wireguard-linux-663d946af5fb2fde0c0498f11fb295e9e8db979f.zip |
net: mdio-mux: Delete unnecessary devm_kfree
The whole point of devm_* APIs is that you don't have to undo them if you
are returning an error that's going to get propagated out of a probe()
function. So delete unnecessary devm_kfree() call in the error return path.
Fixes: b60161668199 ("mdio: mux: Correct mdio_mux_init error path issues")
Signed-off-by: Saravana Kannan <saravanak@google.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Acked-by: Marc Zyngier <maz@kernel.org>
Tested-by: Marc Zyngier <maz@kernel.org>
Acked-by: Kevin Hilman <khilman@baylibre.com>
Tested-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions