summaryrefslogtreecommitdiff
path: root/drivers/xen/gntdev-dmabuf.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2019-11-11 12:20:09 +0000
committerJuergen Gross <jgross@suse.com>2019-12-02 07:27:43 +0100
commitd41b26d81a83e04500e926fbab746ae87c20bb0e (patch)
tree0b32a4e39cf8d6f16e2ea3dd88251d447def8d21 /drivers/xen/gntdev-dmabuf.c
parent348be43384e6bcd5e9da7ff5f1680d49f65c488d (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 'drivers/xen/gntdev-dmabuf.c')
0 files changed, 0 insertions, 0 deletions