fbmem: remove redundant assignment to err
authorColin Ian King <colin.king@canonical.com>
Mon, 24 Jun 2019 22:37:24 +0000 (23:37 +0100)
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Tue, 23 Jul 2019 15:14:22 +0000 (17:14 +0200)
commita74cefd915124a16a2956773c30addc58e344047
tree273634c11b6c5692db5df80771ef44311024d0d9
parent710ae47dc6cb11f11a3007f7ade7d937804e160d
fbmem: remove redundant assignment to err

Variable err is initialized to a value that is never read and it
is re-assigned later.  The initialization is redundant and can
be removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190624223724.13629-1-colin.king@canonical.com
drivers/video/fbdev/core/fbmem.c