]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
staging/atomisp: fix returnvar.cocci warnings
authorkbuild test robot <fengguang.wu@intel.com>
Wed, 1 Mar 2017 22:17:36 +0000 (22:17 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 6 Mar 2017 10:14:23 +0000 (11:14 +0100)
commit26ac851ba381f09425f2ebe550afbb8220e99b89
treec965d1ffb117583998489b8d4397c9b3e6f40b31
parente407377f39f814253e3635c401f125200deae8e0
staging/atomisp: fix returnvar.cocci warnings

drivers/staging/media/atomisp/pci/atomisp2/atomisp_subdev.c:161:5-8: Unneeded variable: "ret". Return "0" on line 163

 Remove unneeded variable used to store return value.

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

Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/media/atomisp/pci/atomisp2/atomisp_subdev.c