diff options
| author | Colin Ian King <colin.king@canonical.com> | 2017-03-27 18:51:18 +0100 |
|---|---|---|
| committer | Siarhei Vishniakou <svv@google.com> | 2019-11-07 11:15:36 -0600 |
| commit | 64aecec953d7778fb704ba5c476f3694b1fb66eb (patch) | |
| tree | cf1635098d2d14d4c76b0a67174846a49a3243cc /kernel/locking/mutex-debug.c | |
| parent | e9ca05b50ad8cfb7226e282e9ef36404e509cc23 (diff) | |
UPSTREAM: HID: sony: remove redundant check for -ve err
err is being checked for failure each time it is being updated
so this err check is totally redundant and can be removed
Detected with CoverityScan, CID#1420665 ("Logically dead code")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
(cherry picked from commit 040fc001765d374776353cb4f8b03ea7fa41e3cd)
Bug: 111431828
Signed-off-by: Kim Low <kim-huei.low@sony.com>
Change-Id: I6ff2852c384d62af4fe074643d509f7d1c965ca2
Signed-off-by: Siarhei Vishniakou <svv@google.com>
Diffstat (limited to 'kernel/locking/mutex-debug.c')
0 files changed, 0 insertions, 0 deletions
