diff options
author | Colin Ian King <colin.king@canonical.com> | 2019-11-11 12:20:09 +0000 |
---|---|---|
committer | Juergen Gross <jgross@suse.com> | 2019-12-02 07:27:43 +0100 |
commit | d41b26d81a83e04500e926fbab746ae87c20bb0e (patch) | |
tree | 0b32a4e39cf8d6f16e2ea3dd88251d447def8d21 /.gitignore | |
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.
[ jgross@suse.com: limit scope of ret ]
Addresses-Coverity: ("Logically dead code")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions