diff options
author | Alban Bedel <[email protected]> | 2019-01-28 15:55:06 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2019-01-31 16:24:15 +0100 |
commit | 9bfd8198ba948e11a0f9c618db00b0d4020b71c5 (patch) | |
tree | aed8d30a3de51bfa7cda7c760ba8d0edb888d961 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 73e9dc4d568f050858e027655f0b0f6ddf65d6aa (diff) |
nvmem: core: Avoid useless iterations in nvmem_cell_get_from_lookup()
Once the correct cell has been found there is no need to continue
iterating, just stop there. While at it replace the goto used to leave
the loop with simple break statements.
Signed-off-by: Alban Bedel <[email protected]>
Signed-off-by: Srinivas Kandagatla <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions