summaryrefslogtreecommitdiffstats
path: root/drivers/platform
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2018-07-24 19:11:28 +0200
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>2018-07-24 19:11:28 +0200
commit8974b76ddc933151395db6085bf49fad8cd0346b (patch)
treeae74142f2abfc715b63a4fa4230e61a0b93b729a /drivers/platform
parentfbdev: omapfb: off by one in omapfb_register_client() (diff)
downloadlinux-8974b76ddc933151395db6085bf49fad8cd0346b.tar.xz
linux-8974b76ddc933151395db6085bf49fad8cd0346b.zip
video: fbdev: tridentfb: remove deadcode on unreachable case statement
The value of tmp being used in the switch statement has the range of just 0..3 hence the case 4 statement can never be reached and is deadcode and can be removed. Detected by CoverityScan, CID#744384 ("Logically dead code") Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Diffstat (limited to 'drivers/platform')
0 files changed, 0 insertions, 0 deletions