summaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/hdpvr/hdpvr-video.c
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2015-12-28 22:52:48 +0100
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2016-02-01 10:39:25 +0100
commit80c1bce9aa315ac70738f79afb4f7c93ae27d9fa (patch)
tree4a582aa128bf96adacb18deb227208736c975ec4 /drivers/media/usb/hdpvr/hdpvr-video.c
parent[media] bttv: Returning only value constants in two functions (diff)
downloadlinux-80c1bce9aa315ac70738f79afb4f7c93ae27d9fa.tar.xz
linux-80c1bce9aa315ac70738f79afb4f7c93ae27d9fa.zip
[media] au0828: Refactoring for start_urb_transfer()
This issue was detected by using the Coccinelle software. 1. Let us return directly if a buffer allocation failed. 2. Delete the jump label "err" then. 3. Drop the explicit initialisation for the variable "ret" at the beginning. 4. Return zero as a constant at the end. 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@osg.samsung.com>
Diffstat (limited to 'drivers/media/usb/hdpvr/hdpvr-video.c')
0 files changed, 0 insertions, 0 deletions