OSDN Git Service

video: fbdev: arcfb: remove redundant initialization of variable err
authorColin Ian King <colin.king@canonical.com>
Wed, 21 Jul 2021 10:26:08 +0000 (11:26 +0100)
committerSam Ravnborg <sam@ravnborg.org>
Wed, 21 Jul 2021 11:09:21 +0000 (13:09 +0200)
commit99279ad8feb9142ab03f9651c2401c1b3807857b
tree65896709f02e063c2e522125801668f2a7fdd277
parent8633ef82f101c040427b57d4df7b706261420b94
video: fbdev: arcfb: remove redundant initialization of variable err

The variable err is being initialized with a value that is never
read, the assignment is redundant and can be removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20210721102608.42694-1-colin.king@canonical.com
drivers/video/fbdev/arcfb.c