From patchwork Fri Jun 25 13:08:48 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 12707 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 D535EC321D for ; Fri, 25 Jun 2021 13:09:25 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 3BEC8684CD; Fri, 25 Jun 2021 15:09:25 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="bLX5EoaB"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id E50BD684C9 for ; Fri, 25 Jun 2021 15:09:23 +0200 (CEST) Received: from pendragon.lan (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 7A1E78B6 for ; Fri, 25 Jun 2021 15:09:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1624626563; bh=iLEjv/5KeRHDXfB84KTzMGUiYyGhAJe+4znMb4rtFG4=; h=From:To:Subject:Date:From; b=bLX5EoaBmg7rPQB0Zw0qU0mhaATVuSXCgwP9a5PdFZLZyRbc/C+uBrbzpYz8EIl3d 1PlnCFt1vQyZd6I8Um6hOX+7SKvpo3NIsbQfBa7W1oSACKpp7VRE+5Ddd43J46Ytm+ 9EiKvTcEGQz5EuYpACH4VNEATWhSmgu5884bdr80= From: Laurent Pinchart To: libcamera-devel@lists.libcamera.org Date: Fri, 25 Jun 2021 16:08:48 +0300 Message-Id: <20210625130848.28447-1-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH] android: mm: cros_camera_buffer: Drop undefined functions 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 CameraBuffer::Private::planeAddr() functions are declared but not defined (and of course not used). Drop them. Fixes: d8d6a78f223e ("android: Introduce Chromium OS buffer manager") Signed-off-by: Laurent Pinchart Reviewed-by: Hirokazu Honda Reviewed-by: Umang Jain --- src/android/mm/cros_camera_buffer.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/android/mm/cros_camera_buffer.cpp b/src/android/mm/cros_camera_buffer.cpp index c4157606d762..317d3e23687f 100644 --- a/src/android/mm/cros_camera_buffer.cpp +++ b/src/android/mm/cros_camera_buffer.cpp @@ -42,9 +42,6 @@ private: void *addr; android_ycbcr ycbcr; } mem; - - const uint8_t *planeAddr(unsigned int plane) const; - uint8_t *planeAddr(unsigned int plane); }; CameraBuffer::Private::Private(CameraBuffer *cameraBuffer,