From patchwork Sun Mar 28 07:59:54 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Fricke X-Patchwork-Id: 11739 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id BA3ECC32ED for ; Sun, 28 Mar 2021 08:00:00 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id E6CAA68784; Sun, 28 Mar 2021 09:59:59 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=posteo.net header.i=@posteo.net header.b="pnCDB5ig"; dkim-atps=neutral Received: from mout02.posteo.de (mout02.posteo.de [185.67.36.66]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 4757F68781 for ; Sun, 28 Mar 2021 09:59:58 +0200 (CEST) Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 82A45240102 for ; Sun, 28 Mar 2021 09:59:57 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1616918397; bh=R86wLNQJGc8XuJCptPZeSzJ1v/V01yv2gJGIrgtoX74=; h=From:To:Cc:Subject:Date:From; b=pnCDB5ighV/jmob5NWaB6LjVyA///ziRAfZ3fHrQUMQyc3+w/wrA0KnfY+qilnitz DO+1wJa+nO1FaVvYqmfmcTzcQ6udqOzYMzS8LPRhcTR/tnTc+MSq76Np0Apux04x5s LwwIdC2Z8c9O4vfVHmQk6cxolvS9dPohjRSe3eY5pPf0ZPGOnTbZQ62rxMkdr1tRKT qQGtxYTXNdWurSlebsyrFFh9z6HzQHP4zy0BJamxRPkl+RNayT2/dbsySStx1aPrBf qytwrke4oB94IAgJrdjLQtDD07+nrR4k+1n98dbR5Hqp0l29JDy589msW2/EZHMEoB l3nDK89aok2jQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4F7SmX2kvrz6tmM; Sun, 28 Mar 2021 09:59:56 +0200 (CEST) From: Sebastian Fricke To: libcamera-devel@lists.libcamera.org Date: Sun, 28 Mar 2021 09:59:54 +0200 Message-Id: <20210328075954.13182-1-sebastian.fricke@posteo.net> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH] ipa: raspberrrypi: Remove duplicate comment X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" The exact same comment is used two times within 5 lines. Remove one of them as it is redundant. Signed-off-by: Sebastian Fricke Reviewed-by: Laurent Pinchart Reviewed-by: Jean-Michel Hautbois --- src/ipa/raspberrypi/raspberrypi.cpp | 1 - 1 file changed, 1 deletion(-) 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_);