diff options
author | 2017-11-03 13:41:39 +1100 | |
---|---|---|
committer | 2017-11-06 20:20:26 +1100 | |
commit | e32ec15a2d57977f9f69b222b7b0395a2d60a71c (patch) | |
tree | 140dbbcbfbf12e3a6f82e8249aee99faf67ac0dd /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mtd: powernv_flash: Don't treat OPAL_SUCCESS as an error (diff) | |
download | wireguard-linux-e32ec15a2d57977f9f69b222b7b0395a2d60a71c.tar.xz wireguard-linux-e32ec15a2d57977f9f69b222b7b0395a2d60a71c.zip |
mtd: powernv_flash: Remove pointless goto in driver init
powernv_flash_probe() has pointless goto statements which jump to the
end of the function to simply return a variable. Rather than checking
for error and going to the label, just return the error as soon as it is
detected.
Signed-off-by: Cyril Bur <cyrilbur@gmail.com>
Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions