]> git.baikalelectronics.ru Git - kernel.git/commit
[media] DaVinci-VPBE: Return the success indication only as a constant in vpbe_set_mode()
authorMarkus Elfring <elfring@users.sourceforge.net>
Wed, 12 Oct 2016 07:51:29 +0000 (04:51 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 16 Nov 2016 14:38:53 +0000 (12:38 -0200)
commit48198e0ea713463eec98fabe42b42ab39076d491
tree86c72c6c1f704a13c258c75c860f30152c53133d
parent4717718b7f7396b0da6e40236c3c0d461a03c91f
[media] DaVinci-VPBE: Return the success indication only as a constant in vpbe_set_mode()

* Return a success code without storing it in an intermediate variable.

* Delete the local variable "ret" which became unnecessary with
  this refactoring.

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/vpbe.c