diff options
author | Colin Ian King <[email protected]> | 2019-11-11 12:20:09 +0000 |
---|---|---|
committer | Juergen Gross <[email protected]> | 2019-12-02 07:27:43 +0100 |
commit | d41b26d81a83e04500e926fbab746ae87c20bb0e (patch) | |
tree | 0b32a4e39cf8d6f16e2ea3dd88251d447def8d21 /tools/perf/scripts/python | |
parent | 348be43384e6bcd5e9da7ff5f1680d49f65c488d (diff) |
xen/gntdev: remove redundant non-zero check on ret
The non-zero check on ret is always going to be false because
ret was initialized as zero and the only place it is set to
non-zero contains a return path before the non-zero check. Hence
the check is redundant and can be removed.
[ [email protected]: limit scope of ret ]
Addresses-Coverity: ("Logically dead code")
Signed-off-by: Colin Ian King <[email protected]>
Reviewed-by: Juergen Gross <[email protected]>
Signed-off-by: Juergen Gross <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions