diff options
| author | Sergio Paracuellos <sergio.paracuellos@gmail.com> | 2019-04-17 13:58:36 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-04-19 15:01:33 +0200 |
| commit | d43f53c6cc926b18316a7e835348363e4a10b61e (patch) | |
| tree | 4c1e4b133ab0b5f566bd9d4a84ab508bf6481ea4 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | staging: mt7621-pci-phy: use 'platform_get_resource' (diff) | |
| download | linux-d43f53c6cc926b18316a7e835348363e4a10b61e.tar.gz linux-d43f53c6cc926b18316a7e835348363e4a10b61e.zip | |
staging: mt7621-pci-phy: remove some unnecessary local variables
Device tree is not using child nodes anymore so the 'child_np' variable
can safely removed. This also simplifies the error path to be able to
directly return errors removing also the 'ret' variable.
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
