video: fbdev: atyfb: Remove assigned but never used variable statements
authorColin Ian King <colin.king@intel.com>
Fri, 10 Sep 2021 16:58:44 +0000 (17:58 +0100)
committerHelge Deller <deller@gmx.de>
Sat, 29 Jan 2022 21:24:26 +0000 (22:24 +0100)
commit9c5718ab30966feebc1428398b9022a820cfadf7
tree0d6ec8c86677303f7a553a4aff65892f1b0f1398
parent8738ddcac644964ae128ccd3d80d48773c8d528e
video: fbdev: atyfb: Remove assigned but never used variable statements

There are a couple of statements where local variables are being assigned
values that are never read because the function returns immediately after
the assignment. Clean up the code by removing them.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Helge Deller <deller@gmx.de>
drivers/video/fbdev/aty/mach64_gx.c