staging: vc04_services: fix returnvar.cocci warnings
authorkbuild test robot <fengguang.wu@intel.com>
Fri, 11 Nov 2016 08:10:20 +0000 (16:10 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 Nov 2016 14:38:41 +0000 (15:38 +0100)
commit30d84860c938feb2ccd07e774b78d9f929b14917
treeca936cc52bf9c1f51ca8553b3ca964d9d731fee8
parent53a6e71fdf242bebea0bcb692a86956aa88df706
staging: vc04_services: fix returnvar.cocci warnings

drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c:1788:16-22: Unneeded variable: "status". Return "VCHIQ_SUCCESS" on line 1824

 Remove unneeded variable used to store return value.

Generated by: scripts/coccinelle/misc/returnvar.cocci

Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c