diff options
| author | Anson Huang <[email protected]> | 2020-05-11 15:50:40 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2020-05-15 16:20:02 +0200 |
| commit | 0e2abffdf928c57af9dfb334e9aa54e430e3b424 (patch) | |
| tree | 3bdc873ab4937c395e5496a6d3c4263fc7efc9d9 /tools/perf/scripts/python | |
| parent | 65f0539b1d063a186723c5c9a7eb17d1962c84a0 (diff) | |
nvmem: imx-ocotp: Improve logic to save many code lines
Several logic improvements to save many code lines:
- no need to use goto;
- no need to assign return value;
- combine different conditions of return value into one line.
Signed-off-by: Anson Huang <[email protected]>
Signed-off-by: Srinivas Kandagatla <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions