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
This commit is contained in:
parent
8633ef82f1
commit
99279ad8fe
|
@ -446,7 +446,7 @@ static ssize_t arcfb_write(struct fb_info *info, const char __user *buf,
|
|||
/* modded from epson 1355 */
|
||||
|
||||
unsigned long p;
|
||||
int err=-EINVAL;
|
||||
int err;
|
||||
unsigned int fbmemlength,x,y,w,h, bitppos, startpos, endpos, bitcount;
|
||||
struct arcfb_par *par;
|
||||
unsigned int xres;
|
||||
|
|
Loading…
Reference in New Issue