diff options
author | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2020-10-28 02:15:46 +0100 |
---|---|---|
committer | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2020-10-28 15:49:21 +0100 |
commit | bfd588d1d8332453b5f7afc6749fc6f3bf00c0bd (patch) | |
tree | 6089b392e2f5ec9a1de83650cf1804b5390a8479 /test/controls/control_info.cpp | |
parent | b86356feee1cbdb7c64f1bee830aaa54c1b38af0 (diff) |
libcamera: v4l2_device: Remove unused set of ret
The last assignment of the ret variable in getControls() is not consumed
so it's unnecessary to set it. This likely originates from a similar
code flow in setControls() where the ret variable is later consumed.
Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'test/controls/control_info.cpp')
0 files changed, 0 insertions, 0 deletions