diff options
author | 2021-04-07 11:16:38 +0800 | |
---|---|---|
committer | 2021-04-07 14:32:31 -0700 | |
commit | 872fff333fb1a100a54dfb7fd20fb418bb7e1ba5 (patch) | |
tree | 1923b8b3f414db3ea7e071b84d09b20400a06b1f /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | mlxsw: core: Remove critical trip points from thermal zones (diff) | |
download | wireguard-linux-872fff333fb1a100a54dfb7fd20fb418bb7e1ba5.tar.xz wireguard-linux-872fff333fb1a100a54dfb7fd20fb418bb7e1ba5.zip |
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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions