[media] adv7170: drop redundant ret local
authorBaruch Siach <baruch@tkos.co.il>
Tue, 3 Jan 2017 20:22:43 +0000 (18:22 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Mon, 30 Jan 2017 17:47:05 +0000 (15:47 -0200)
commit5f98e5f555d770e807a7d89868f3619b6525d46d
treee91a85248a60c18fcd44ae4ff0ce84f0c76b7bca
parent30e0e2ed7cf60944e810201aeff5974b5959aec5
[media] adv7170: drop redundant ret local

Simplifies return value logic of adv7170_set_fmt().

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/i2c/adv7170.c