diff options
author | Leonid Arapov <arapovl839@gmail.com> | 2025-03-19 00:19:51 +0300 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2025-03-27 00:39:21 +0300 |
commit | b204c29e0d8dce0cbcbec36659686a1ce7e1cbb0 (patch) | |
tree | f873b209fa211a511ef55dee10a18a84654d3b1e /rust/helpers/helpers.c | |
parent | 4afd6378c5fbb1497add5644ab228c1533d71bbb (diff) | |
download | linux-b204c29e0d8dce0cbcbec36659686a1ce7e1cbb0.tar.xz |
fbdev: omapfb: Remove writeback deadcode
Value of enum parameter 'plane' is initialized in dss_init_overlays and
cannot take the value OMAP_DSS_WB. Function dispc_ovl_setup_common could
be called with this value of parameter only from dispc_wb_setup, which has
never been used and has been removed in commit 4f55bb03801a
("omapfb: Remove unused writeback code"). The code in the if-branch is
unreachable.
Remove unreachable branch.
Found by Linux Verification Center (linuxtesting.org) with SVACE static
analysis tool.
Signed-off-by: Leonid Arapov <arapovl839@gmail.com>
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions