aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorMarkus Elfring <[email protected]>2015-12-29 08:02:43 -0200
committerMauro Carvalho Chehab <[email protected]>2016-02-01 07:41:14 -0200
commitb68554cd76bfed57a3aac2fc4ac4c60478d90050 (patch)
treeb485b6eedfd437dec105a4f9822f79fc5ed1d0e3 /drivers/fpga/fpga-mgr.c
parent80c1bce9aa315ac70738f79afb4f7c93ae27d9fa (diff)
[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 <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions