[media] msi2500: Delete an unnecessary check in msi2500_set_usb_adc()
authorMarkus Elfring <elfring@users.sourceforge.net>
Tue, 29 Dec 2015 11:32:41 +0000 (09:32 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 25 Jan 2016 17:15:39 +0000 (15:15 -0200)
commita73cfe527c10bb023f0e22dd8cf37dd418c093e7
tree3e1077f8dfbff4836c15ff01b8b30dd0f076663a
parent61f8e1a73296d065abc959e0c0861ffbdfa2d0b3
[media] msi2500: Delete an unnecessary check in msi2500_set_usb_adc()

This issue was detected by using the Coccinelle software.

Return the value from a call of the msi2500_ctrl_msg() function
without using an extra check for the variable "ret" at the end.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/usb/msi2500/msi2500.c