staging: vc04_services: bcm2835-camera: remove redundant assignment to variable ret
authorColin Ian King <colin.king@canonical.com>
Sat, 11 May 2019 13:48:13 +0000 (14:48 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 May 2019 05:40:39 +0000 (07:40 +0200)
commit80ff4ad4c62f7b7694327712f1aaf5a38eae4a61
tree875dd6802287aad5627335f825ee60c528a5ff7f
parenta301ecbc7ed0e27dde933e4c323204139cdc1694
staging: vc04_services: bcm2835-camera: remove redundant assignment to variable ret

The variable ret is being initialized however this is never read and later
it is being reassigned to a new value. The initialization is redundant and
hence can be removed.

Addresses-Coverity: ("Unused Value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/bcm2835-camera/controls.c