staging: atomisp: remove redundant check for client being null
authorColin Ian King <colin.king@canonical.com>
Sat, 11 Mar 2017 19:48:19 +0000 (19:48 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 12 Mar 2017 13:57:00 +0000 (14:57 +0100)
commitb8ff636cd7d72334951a7fa1dfe9f21ba4d2107b
tree476455c17aa5aa88269a1ab50d811ba9e2392b14
parent9573878611f4dd4d7be2e649814bef3270f4e5bd
staging: atomisp: remove redundant check for client being null

The previous statement checks if client is null, so the null check
when assigning dev is redundant and can be removed.

Detected by CoverityScan, CID#1416555 ("Logically Dead Code")

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/media/atomisp/platform/intel-mid/atomisp_gmin_platform.c