]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
drm/vmwgfx: remove redundant return ret statement
authorColin Ian King <colin.king@canonical.com>
Thu, 4 Oct 2018 17:49:53 +0000 (18:49 +0100)
committerThomas Hellstrom <thellstrom@vmware.com>
Wed, 12 Dec 2018 11:01:05 +0000 (12:01 +0100)
commite06d45d8c165a0b1a7aaa1b794c78d2db911c8f6
treefb914fc5788396eed6d6049ebf5e6811ace8cb3a
parent73b6f96cbc0162787bcbdac5f538167084c8d605
drm/vmwgfx: remove redundant return ret statement

The return statement is redundant as there is a return statement
immediately before it so we have dead code that can be removed.
Also remove the unused declaration of ret.

Detected by CoverityScan, CID#1473793 ("Structurally dead code")

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c