diff options
author | wengjianfeng <wengjianfeng@yulong.com> | 2021-04-07 11:16:38 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-04-07 14:32:31 -0700 |
commit | 872fff333fb1a100a54dfb7fd20fb418bb7e1ba5 (patch) | |
tree | 1923b8b3f414db3ea7e071b84d09b20400a06b1f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | d567fd6e82faa61756810b9b0dfd9d0da11e960e (diff) |
nfc/fdp: remove unnecessary assignment and label
In function fdp_nci_patch_otp and fdp_nci_patch_ram,many goto
out statements are used, and out label just return variable r.
in some places,just jump to the out label, and in other places,
assign a value to the variable r,then jump to the out label.
It is unnecessary, we just use return sentences to replace goto
sentences and delete out label.
Signed-off-by: wengjianfeng <wengjianfeng@yulong.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions