linux/drivers/media/usb/hdpvr
Markus Elfring b68554cd76 [media] hdpvr: Refactoring for hdpvr_read()
Let us return directly if the element "status" of the variable "buf"
indicates "BUFSTAT_READY".
A check repetition can be excluded for the variable "ret" at the end then.

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:41:14 -02:00
..
hdpvr-control.c [media] hdpvr: reduce memory footprint when debugging 2014-09-23 16:13:36 -03:00
hdpvr-core.c [media] hdpvr: embed video_device 2015-04-02 23:36:54 -03:00
hdpvr-i2c.c [media] [V2,23/24] usb/hdpvr/hdpvr-i2c.c: use IS_ENABLED() macro 2013-02-06 09:20:41 -02:00
hdpvr-video.c [media] hdpvr: Refactoring for hdpvr_read() 2016-02-01 07:41:14 -02:00
hdpvr.h [media] include/media: split I2C headers from V4L2 core 2015-11-17 06:57:11 -02:00
Kconfig [media] media: fix hdpvr kconfig/build errors 2013-05-27 08:51:27 -03:00
Makefile