diff options
author | wengjianfeng <[email protected]> | 2021-05-26 08:56:51 +0800 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2021-05-26 13:09:56 -0700 |
commit | 568e7142a15f821867a39797f5b098070df4a9c8 (patch) | |
tree | 0964f5b8d3837cacf8ce0bf71c44304c5ba288f9 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | e4e92ee78702b13ad55118d8b66f06e1aef62586 (diff) |
nfc: st95hf: remove unnecessary assignment and label
In function st95hf_in_send_cmd, the variable rc is assigned then goto
error label, which just returns rc, so we use return to replace it.
Since error label only used once in the function, so we remove error label.
Signed-off-by: wengjianfeng <[email protected]>
Reviewed-by: Krzysztof Kozlowski <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions