]> git.baikalelectronics.ru Git - kernel.git/commit
[media] DaVinci-VPFE-Capture: Delete an unnecessary variable initialisation in vpfe_p...
authorMarkus Elfring <elfring@users.sourceforge.net>
Wed, 12 Oct 2016 08:30:28 +0000 (05:30 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 16 Nov 2016 14:43:33 +0000 (12:43 -0200)
commit3cb7e92ff863ae4817b5ad30ecb30cbd4914ca5d
treeab569be93e7624b3e943a1b56cbe4cd9fe83aa23
parent8ebf9daf7f1935eadf4f41e0c9dfc4345bd97be7
[media] DaVinci-VPFE-Capture: Delete an unnecessary variable initialisation in vpfe_probe()

* Return an error code as a constant after a failed call of
  the function "vpfe_initialize".

* The local variable "ret" will be set then to an appropriate value
  a bit later. Thus omit the explicit initialisation at the beginning.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/davinci/vpfe_capture.c