diff options
| author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2017-11-06 22:53:30 +0100 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2017-11-08 13:53:33 +0900 |
| commit | 336eac4347e74589f868e5da9ca0106953942aa8 (patch) | |
| tree | 54ab8bbac26c32ad4c7c972436bdecd020440c0e /tools/perf/scripts/python | |
| parent | fsl/fman: Remove a useless call to 'dev_set_drvdata()' (diff) | |
| download | linux-336eac4347e74589f868e5da9ca0106953942aa8.tar.gz linux-336eac4347e74589f868e5da9ca0106953942aa8.zip | |
fsl/fman: Remove some useless code
There is no need to release explicitly some devm_ allocated resources.
If the 'mac_probe()' probe function fails, they will be released
automatically, as already done in the other error handling paths of
this function.
Also goto '_return_of_get_parent' as in the other error handling paths.
This is useless (priv->fixed_link is NULL at this point), but at least
it is consistent.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
