summaryrefslogtreecommitdiff
path: root/src/cam/options.cpp
diff options
context:
space:
mode:
authorNiklas Söderlund <niklas.soderlund@ragnatech.se>2019-10-26 01:51:11 +0200
committerNiklas Söderlund <niklas.soderlund@ragnatech.se>2019-11-20 00:35:00 +0100
commitc360857c5d57e21772af015477da305817b16bbb (patch)
treec8fdf17327c7deded5503612cbc8a8683a39fa84 /src/cam/options.cpp
parentc1a287d4b481140d1e647c4bdda97fa81475161c (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/cam/options.cpp')
0 files changed, 0 insertions, 0 deletions