linux_dsm_epyc7002/drivers/video/fbdev
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
..
aty drm-misc-next for v5.6: 2019-12-17 13:57:54 +01:00
core fbdev: potential information leak in do_fb_ioctl() 2020-01-15 17:31:39 +01:00
geode video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
i810
intelfb video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
kyro video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
matrox Merge drm/drm-next into drm-misc-next 2020-01-06 10:35:33 +01:00
mb862xx video: fbdev: mb862xx: modify the static fb_ops directly 2019-12-05 10:57:22 +02:00
mbx video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
mmp video: fbdev: mmp: fix platform_get_irq.cocci warnings 2020-01-08 08:26:39 +01:00
nvidia video: fbdev: nvidia: modify the static fb_ops directly 2019-12-05 10:57:27 +02:00
omap video: omapfb: use const pointer for fb_ops 2019-12-03 11:11:44 +02:00
omap2 OMAP: DSS2: remove non-zero check on variable r 2020-01-15 17:31:44 +01:00
riva video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
savage video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
sis video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
vermilion treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 63 2019-05-24 17:36:46 +02:00
via video: fbdev: viafb: Remove dead code 2019-08-19 15:52:28 +02:00
68328fb.c video/fbdev/68328fb: Remove dead code 2020-01-03 14:27:43 +01:00
acornfb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
acornfb.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
amba-clcd.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
amifb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
arcfb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
arkfb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
asiliantfb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
atafb_iplan2p2.c fbdev: atafb: Remove obsolete module support 2019-04-01 17:46:55 +02:00
atafb_iplan2p4.c fbdev: atafb: Remove obsolete module support 2019-04-01 17:46:55 +02:00
atafb_iplan2p8.c fbdev: atafb: Remove obsolete module support 2019-04-01 17:46:55 +02:00
atafb_mfb.c fbdev: atafb: Remove obsolete module support 2019-04-01 17:46:55 +02:00
atafb_utils.h
atafb.c m68k: atari: Rename shifter to shifter_st to avoid conflict 2019-08-19 13:24:10 +02:00
atafb.h
atmel_lcdfb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
au1100fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
au1100fb.h au1100fb: fix DMA API abuse 2019-06-03 16:00:08 +02:00
au1200fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
au1200fb.h
broadsheetfb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
bt431.h
bt455.h
bw2.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
c2p_core.h fbdev: c2p: Fix link failure on non-inlining 2019-11-04 10:48:14 +01:00
c2p_iplan2.c
c2p_planar.c
c2p.h
carminefb_regs.h
carminefb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
carminefb.h
cg3.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
cg6.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
cg14.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
chipsfb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
cirrusfb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
clps711x-fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
cobalt_lcdfb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
controlfb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
controlfb.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
cyber2000fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
cyber2000fb.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
da8xx-fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
dnfb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
edid.h
efifb.c drm-misc-next for v5.6: 2019-12-17 13:57:54 +01:00
ep93xx-fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
fb-puv3.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
ffb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
fm2fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
fsl-diu-fb.c video: fbdev: fsl-diu-fb: mark expected switch fall-throughs 2020-01-03 14:27:48 +01:00
g364fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
gbefb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
goldfishfb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
grvga.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
gxt4500.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
hecubafb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
hgafb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
hitfb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
hpfb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
hyperv_fb.c video: hyperv_fb: fix indentation issue 2020-01-15 17:31:40 +01:00
i740_reg.h
i740fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
imsttfb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
imxfb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
Kconfig video: hyperv: hyperv_fb: Support deferred IO for Hyper-V frame buffer driver 2019-11-21 20:10:44 -05:00
leo.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
macfb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
macmodes.c
macmodes.h
Makefile Main MIPS changes for v5.4: 2019-09-22 09:30:30 -07:00
maxinefb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
metronomefb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
mx3fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
n411.c
neofb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
ocfb.c video: ocfb: Use devm_platform_ioremap_resource() in ocfb_probe() 2020-01-03 14:27:49 +01:00
offb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
p9100.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
platinumfb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
platinumfb.h
pm2fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
pm3fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
pmag-aa-fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
pmag-ba-fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
pmagb-b-fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
ps3fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
pvr2fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
pxa3xx-gcu.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 61 2019-05-24 17:36:45 +02:00
pxa3xx-gcu.h
pxa168fb.c pxa168fb: Fix the function used to release some memory in an error handling path 2020-01-03 14:27:42 +01:00
pxa168fb.h
pxafb.c video: pxafb: Use devm_platform_ioremap_resource() in pxafb_probe() 2020-01-03 14:27:50 +01:00
pxafb.h video: pxafb: Remove cpufreq policy notifier 2019-08-26 10:02:02 +02:00
q40fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
s1d13xxxfb.c
s3c2410fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
s3c2410fb.h
s3c-fb.c fbdev: s3c-fb: use devm_platform_ioremap_resource() to simplify code 2020-01-03 14:27:45 +01:00
s3fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
sa1100fb.c fbdev/sa1100fb: use devm_platform_ioremap_resource() to simplify code 2020-01-03 14:27:46 +01:00
sa1100fb.h video: sa1100fb: Remove cpufreq policy notifier 2019-08-26 10:02:02 +02:00
sbuslib.c
sbuslib.h
sh7760fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
sh_mobile_lcdcfb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
sh_mobile_lcdcfb.h fbdev/sh_mobile: remove sh_mobile_lcdc_display_notify 2019-06-12 20:28:11 +02:00
simplefb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
skeletonfb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
sm501fb.c video: fbdev: sm501fb: convert platform driver to use dev_groups 2019-08-02 13:22:37 +02:00
sm712.h fbdev: sm712fb: use 1024x768 by default on non-MIPS, fix garbled display 2019-04-01 17:46:59 +02:00
sm712fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
smscufx.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
ssd1307fb.c video: ssd1307fb: add the missed regulator_disable 2020-01-15 17:31:42 +01:00
sstfb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
sticore.h
stifb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
sunxvr500.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
sunxvr1000.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
sunxvr2500.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
tcx.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
tdfxfb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
tgafb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
tmiofb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
tridentfb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
udlfb.c video: udlfb: don't restore fb_mmap after deferred IO cleanup 2019-12-03 11:11:16 +02:00
uvesafb.c video: fbdev: uvesafb: modify the static fb_ops directly 2019-12-05 10:57:31 +02:00
valkyriefb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
valkyriefb.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
vesafb.c video: fbdev: vesafb: modify the static fb_ops directly 2019-12-03 11:11:24 +02:00
vfb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
vga16fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
vt8500lcdfb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
vt8500lcdfb.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 282 2019-06-05 17:36:37 +02:00
vt8623fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
w100fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
w100fb.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
wm8505fb_regs.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 282 2019-06-05 17:36:37 +02:00
wm8505fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
wmt_ge_rops.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 282 2019-06-05 17:36:37 +02:00
wmt_ge_rops.h
xen-fbfront.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
xilinxfb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00