[media] usb: au0828: remove redundant code
authorColin Ian King <colin.king@canonical.com>
Wed, 22 Mar 2017 16:32:01 +0000 (13:32 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 5 Apr 2017 18:10:07 +0000 (15:10 -0300)
commit49375e68fec71d067ea02e74386cf6171bab85f5
treebdfb4f6b3ff741bf4bb61f4bd51617ba40ffc77e
parent1085cbf271e4f9fe8c4064877d39335d327e662f
[media] usb: au0828: remove redundant code

The check for ret being non-zero is false as ret is always
zero, hence we have redundant dead code that can be removed.

Detected with CoverityScan, CID#112968 ("Constant' variable guards
dead code (DEADCODE)'")

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/usb/au0828/au0828-video.c