[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)
commitefb74461f5a66c0004d0c13ef59c86bcf5961477
treeab569be93e7624b3e943a1b56cbe4cd9fe83aa23
parente4c0cd0ae34b5e8ea3e8f4eced531dccabe3124c
[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