diff options
author | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2019-10-26 01:51:11 +0200 |
---|---|---|
committer | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2019-11-20 00:35:00 +0100 |
commit | c360857c5d57e21772af015477da305817b16bbb (patch) | |
tree | c8fdf17327c7deded5503612cbc8a8683a39fa84 /src/qcam/qt_event_dispatcher.cpp | |
parent | c1a287d4b481140d1e647c4bdda97fa81475161c (diff) |
libcamera: v4l2_videodevice: Simplify error checking for requestBuffers()
There is no point in explicitly checking the same error in the only call
sites for the internal function, centralize the check and simplify the
code.
Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/qcam/qt_event_dispatcher.cpp')
0 files changed, 0 insertions, 0 deletions