From patchwork Mon Jan 25 18:48:58 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Plowman X-Patchwork-Id: 10994 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 249EBBD808 for ; Mon, 25 Jan 2021 18:49:12 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id DBD3E682E9; Mon, 25 Jan 2021 19:49:11 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="rfyGemDy"; dkim-atps=neutral Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 90D93682DB for ; Mon, 25 Jan 2021 19:49:09 +0100 (CET) Received: by mail-ej1-x62e.google.com with SMTP id w1so19496185ejf.11 for ; Mon, 25 Jan 2021 10:49:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=F7wNUmeRHs2H3iF0z3YYd6je6FUdDFpLYC0hRKeo0Qw=; b=rfyGemDy/s5ZR6URTGLr74XfRFH+AAd1sgUps7EQsSMAjQL/jaizWwxfJQbkkcWWkl oVBeurqrYPAWNanBlmnm4nGdlVMvR3K1M2pLHy3mTEpmn8q8jAu0ZuUoa3r09Wqqzfbz tBJUBBJvopmGJTYnODCkcoT3djv38JVZY8d9PsQQzyrgTjNCG31yXl09WEPhfDzYBAu8 3fu7BiiVA44rg2/PeAvVrs3iPoX6P4h20K981FY5QmxvB8XOs5uKyJd5N8DLTV6GESyQ VkIKWZbP2gfhXxsJJn5NrIM/4V3IDfEOwGL2E0bIzcLcDP7eXquGoNC7WitFTHaxZHcW edHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=F7wNUmeRHs2H3iF0z3YYd6je6FUdDFpLYC0hRKeo0Qw=; b=kIs6wJp5he/uE0fxBQpInZYOzAclIkwGiTakJ27hhkneXWdqckYzvieil6al7eEaLy sMYkyQreRRLnIobsKvmxlhaH6XtkwPeeN8T5YJDOT+cQelW4udCMxOcVYrt1TkQ3EsdW HIrYxlmrPxCDwaXmbutlAy82K07VN04vCqYZmtNFwMVI9LlzP326iC7kthPnR8Cq7d5b 7as4qipCO/SWp5HF7WyLFZ/QUsuXfN7FLHCf4JfOyeECsG4FgMAoxAixS0h2AAfxfxNY UinE6Q3wRFwKxGcJQ652+z7aSuRkFNDjcrk3b2C7ImaVVeVQcuVdub8vUR7NLZHWg1d0 g17A== X-Gm-Message-State: AOAM531/4Bleu4b7eDegGolIfBw1EdFVcOfYA5KxlJG2Xr6v+zzamSvb zPxSL07p6Dlj546xz3hfWuumpNIExfmZqdzH X-Google-Smtp-Source: ABdhPJyjqPgfPjzunQjzQ0+po6BhXi4O0iQU4tYtHoa2QcODmwrZNt22RBWwg+4UWB1sfD7mByk7yA== X-Received: by 2002:a17:907:9879:: with SMTP id ko25mr1243130ejc.524.1611600548654; Mon, 25 Jan 2021 10:49:08 -0800 (PST) Received: from pi4-davidp.lan (plowpeople3.plus.com. [80.229.223.72]) by smtp.gmail.com with ESMTPSA id y59sm11601836ede.59.2021.01.25.10.49.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Jan 2021 10:49:07 -0800 (PST) From: David Plowman To: libcamera-devel@lists.libcamera.org Date: Mon, 25 Jan 2021 18:48:58 +0000 Message-Id: <20210125184858.16339-6-david.plowman@raspberrypi.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210125184858.16339-1-david.plowman@raspberrypi.com> References: <20210125184858.16339-1-david.plowman@raspberrypi.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v2 5/5] ipa: raspberrypi: Remove legacy Rasberry Pi logging 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" Signed-off-by: David Plowman Reviewed-by: Kieran Bingham Reviewed-by: Laurent Pinchart --- src/ipa/raspberrypi/controller/algorithm.hpp | 1 - src/ipa/raspberrypi/controller/logging.hpp | 30 -------------------- 2 files changed, 31 deletions(-) delete mode 100644 src/ipa/raspberrypi/controller/logging.hpp diff --git a/src/ipa/raspberrypi/controller/algorithm.hpp b/src/ipa/raspberrypi/controller/algorithm.hpp index 17423f23..e9b040c7 100644 --- a/src/ipa/raspberrypi/controller/algorithm.hpp +++ b/src/ipa/raspberrypi/controller/algorithm.hpp @@ -14,7 +14,6 @@ #include #include -#include "logging.hpp" #include "controller.hpp" #include diff --git a/src/ipa/raspberrypi/controller/logging.hpp b/src/ipa/raspberrypi/controller/logging.hpp deleted file mode 100644 index f0d306b6..00000000 --- a/src/ipa/raspberrypi/controller/logging.hpp +++ /dev/null @@ -1,30 +0,0 @@ -/* SPDX-License-Identifier: BSD-2-Clause */ -/* - * Copyright (C) 2019-2020, Raspberry Pi (Trading) Limited - * - * logging.hpp - logging macros - */ -#pragma once - -#include - -#ifndef RPI_LOGGING_ENABLE -#define RPI_LOGGING_ENABLE 0 -#endif - -#ifndef RPI_WARNING_ENABLE -#define RPI_WARNING_ENABLE 1 -#endif - -#define RPI_LOG(stuff) \ - do { \ - if (RPI_LOGGING_ENABLE) \ - std::cout << __FUNCTION__ << ": " << stuff << "\n"; \ - } while (0) - -#define RPI_WARN(stuff) \ - do { \ - if (RPI_WARNING_ENABLE) \ - std::cout << __FUNCTION__ << " ***WARNING*** " \ - << stuff << "\n"; \ - } while (0)