summaryrefslogtreecommitdiff
path: root/src/ipa
diff options
context:
space:
mode:
authorSebastian Fricke <sebastian.fricke@posteo.net>2021-03-28 09:59:54 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-03-28 19:53:12 +0300
commit6a84c563469f11ea426e1773f8fd9b3be1172ad2 (patch)
tree0488ff49828952764ca85f24754f2702307f6e02 /src/ipa
parentb68721608ac4370564a41f1cc3aaa61a13d363cf (diff)
ipa: raspberrrypi: Remove duplicate comment
The exact same comment is used two times within 5 lines. Remove one of them as it is redundant. Signed-off-by: Sebastian Fricke <sebastian.fricke@posteo.net> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/ipa')
-rw-r--r--src/ipa/raspberrypi/raspberrypi.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/ipa/raspberrypi/raspberrypi.cpp b/src/ipa/raspberrypi/raspberrypi.cpp
index 1c928b72..ed2d9a54 100644
--- a/src/ipa/raspberrypi/raspberrypi.cpp
+++ b/src/ipa/raspberrypi/raspberrypi.cpp
@@ -208,7 +208,6 @@ void IPARPi::start(const ControlList &controls, ipa::RPi::StartConfig *startConf
agcStatus.shutter_time = 0.0;
agcStatus.analogue_gain = 0.0;
- /* SwitchMode may supply updated exposure/gain values to use. */
metadata.Get("agc.status", agcStatus);
if (agcStatus.shutter_time != 0.0 && agcStatus.analogue_gain != 0.0) {
ControlList ctrls(sensorCtrls_);