]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vmwgfx: remove redundant assignment to variable ret
authorColin Ian King <colin.king@canonical.com>
Sun, 5 Apr 2020 12:13:47 +0000 (13:13 +0100)
committerRoland Scheidegger <sroland@vmware.com>
Sat, 16 May 2020 04:50:32 +0000 (06:50 +0200)
commitd088cc34d1a859fa0abeab2463292c69693d41bd
tree218cbee6a0536dcf033a0376c5ecb46c43086a34
parentb8ed12fff36bac9ec40225608adb799718e02dfb
drm/vmwgfx: remove redundant assignment to variable ret

The variable ret is being initialized with a value that is never read
and it is being updated later with a new value. The initialization
is redundant and can be removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Roland Scheidegger <sroland@vmware.com>
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c