diff options
author | 2017-04-19 18:54:45 -0700 | |
---|---|---|
committer | 2017-04-20 13:26:18 -0700 | |
commit | 527376c89caf59537d8e5c9f14d7caa940bd563b (patch) | |
tree | 0cd030e22fa95960ba29891483de548f38a7e348 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | platform/x86: hp-wmi: Do not shadow errors in sysfs show functions (diff) | |
download | linux-dev-527376c89caf59537d8e5c9f14d7caa940bd563b.tar.xz linux-dev-527376c89caf59537d8e5c9f14d7caa940bd563b.zip |
platform/x86: hp-wmi: Cleanup exit paths
Several exit paths were more complex than they needed to be. Remove
superfluous conditionals, use labels common cleanup, do not shadow
negative error codes.
Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
Tested-by: Carlo Caione <carlo@endlessm.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions