Files
linux/drivers
Colin Ian King bc5e36f3d2 OMAP: DSS2: remove non-zero check on variable r
Variable r is being initialized to zero, so the check of a non-zero
rv is redundant and can be removed.

It appears that the previous case statements set r to be -EINVAL
and the "Fallthrough" comment afterwards suggested it was going
to fall through to this non-zero check but won't because of the
break statement. Remove the confusion by removing the Fallthrough
comment too.

Addresses-Coverity: ("Logically dead code")
Fixes: b39a982dde ("OMAP: DSS2: omapfb driver")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191204152847.1435188-1-colin.king@canonical.com
2020-01-15 17:31:44 +01:00
..
2019-11-22 11:16:26 +05:30
2020-01-14 16:22:17 -05:00
2019-12-10 23:15:09 +01:00
2019-12-09 10:36:44 -08:00
2019-12-09 10:36:44 -08:00
2019-11-22 19:56:35 +00:00
2019-12-09 10:36:44 -08:00
2019-11-14 13:06:33 +08:00