linux_dsm_epyc7002/drivers/media/usb/au0828
Markus Elfring 80c1bce9aa [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>
2016-02-01 07:39:25 -02:00
..
au0828-cards.c [media] au0828: Cache the decoder info at au0828 dev structure 2016-01-11 12:18:39 -02:00
au0828-cards.h [media] rename most media/video usb drivers to media/usb 2012-08-15 16:25:07 -03:00
au0828-core.c [media] tuner.h: rename TUNER_PAD_IF_OUTPUT to TUNER_PAD_OUTPUT 2016-02-01 07:19:08 -02:00
au0828-dvb.c [media] au0828: Refactoring for start_urb_transfer() 2016-02-01 07:39:25 -02:00
au0828-i2c.c [media] au0828: use pr_foo macros 2014-08-21 15:25:08 -05:00
au0828-input.c [media] media/au0828: Fix IR stop, poll to not access device during disconnect 2014-11-25 13:32:49 -02:00
au0828-reg.h [media] rename most media/video usb drivers to media/usb 2012-08-15 16:25:07 -03:00
au0828-vbi.c [media] vb2: drop v4l2_format argument from queue_setup 2015-12-18 13:48:19 -02:00
au0828-video.c [media] media framework: rename pads init function to media_entity_pads_init() 2016-01-11 12:19:03 -02:00
au0828.h [media] au0828: add support for the connectors 2016-01-11 12:18:58 -02:00
Kconfig [media] media: au0828 - convert to use videobuf2 2015-02-02 11:58:27 -02:00
Makefile [media] au0828: add support for IR on HVR-950Q 2014-07-30 15:51:43 -03:00