commit | e90ce8aa3cb2fcfb0fd45f95e89946a15c03737c | [log] [tgz] |
---|---|---|
author | Colin Ian King <colin.king@canonical.com> | Tue Sep 05 11:19:44 2017 -0400 |
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | Sat Sep 23 08:29:45 2017 -0400 |
tree | 28a70026ec999173ca9c026d5d344f9f6126e528 | |
parent | 2be730b828c59fc776c8045883c1dc7a37d7b457 [diff] |
media: cobalt: remove redundant zero check on retval The error handling paths all end up with retval being non-zero, so the check for retval being zero is always false and hence is redundant. Remove it. Detected by CoverityScan CID#1309479 ("Logically dead code") Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Hans Verkuil <hansverk@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>