]> git.baikalelectronics.ru Git - kernel.git/commit
fbdev: udlfb: Remove redundant initialization to variable identical
authorColin Ian King <colin.i.king@gmail.com>
Wed, 7 Sep 2022 13:50:56 +0000 (14:50 +0100)
committerHelge Deller <deller@gmx.de>
Sat, 8 Oct 2022 13:20:08 +0000 (15:20 +0200)
commite87ce50a2fce8294f794f4fa9881cc80fb28e23d
tree8a17116dc8103db8d58291001b2dcd1ece3b1928
parentd76e206672cbe0c9bc0154059a562ee635aa169e
fbdev: udlfb: Remove redundant initialization to variable identical

The variable identical is being initialized with a value that is never
read. The variable is being re-assigned later on. The initialization is
redundant and can be removed.

Cleans up clang scan-build warning:
drivers/video/fbdev/udlfb.c:373:6: warning: Value stored to 'identical'
during its initialization is never read [deadcode.DeadStores]

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Signed-off-by: Helge Deller <deller@gmx.de>
drivers/video/fbdev/udlfb.c