diff options
author | Colin Ian King <colin.king@canonical.com> | 2018-07-24 19:11:28 +0200 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> | 2018-07-24 19:11:28 +0200 |
commit | 8974b76ddc933151395db6085bf49fad8cd0346b (patch) | |
tree | ae74142f2abfc715b63a4fa4230e61a0b93b729a /drivers/platform | |
parent | fbdev: omapfb: off by one in omapfb_register_client() (diff) | |
download | linux-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