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 /drivers/input/input-polldev.c | |
parent | 348be43384e6bcd5e9da7ff5f1680d49f65c488d (diff) | |
download | linux-d41b26d81a83e04500e926fbab746ae87c20bb0e.tar.gz |
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/input/input-polldev.c')
0 files changed, 0 insertions, 0 deletions