diff options
author | Alexandre Courbot <gnurou@gmail.com> | 2020-08-27 14:49:46 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-09-26 10:18:09 +0200 |
commit | 1698a7f1511267a0d07a783dd467eab19bf498f3 (patch) | |
tree | c627fab53d5147922a08c0887f0741355f54bf1c /include/uapi/linux/videodev2.h | |
parent | 566463afdbc43c7744c5a1b89250fc808df03833 (diff) |
media: v4l2-mem2mem: simplify poll logic
Factorize redundant checks into a single code block, remove unneeded
checks (a buffer in done_list is necessarily in the DONE or ERROR
state), and we end up with a much simpler version of this function.
Signed-off-by: Alexandre Courbot <gnurou@gmail.com>
Reviewed-by: Ezequiel Garcia <ezequiel@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'include/uapi/linux/videodev2.h')
0 files changed, 0 insertions, 0 deletions