[PATCH v3 5/9] libcamera: mali-c55: Remove MaliC55CameraData::mbusCodes()

Jacopo Mondi jacopo.mondi at ideasonboard.com
Wed Jun 26 16:03:01 CEST 2024


From: Daniel Scally <dan.scally at ideasonboard.com>

The MaliC55CameraData::mbusCodes() function is unused. Remove it.

Signed-off-by: Daniel Scally <dan.scally at ideasonboard.com>
Signed-off-by: Jacopo Mondi <jacopo.mondi at ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham at ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
---
 src/libcamera/pipeline/mali-c55/mali-c55.cpp | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/src/libcamera/pipeline/mali-c55/mali-c55.cpp b/src/libcamera/pipeline/mali-c55/mali-c55.cpp
index 12e32f2339f9..877a156ccb84 100644
--- a/src/libcamera/pipeline/mali-c55/mali-c55.cpp
+++ b/src/libcamera/pipeline/mali-c55/mali-c55.cpp
@@ -95,7 +95,6 @@ public:
 	int init();
 
 	/* Deflect these functionalities to either TPG or CameraSensor. */
-	const std::vector<unsigned int> mbusCodes() const;
 	const std::vector<Size> sizes(unsigned int mbusCode) const;
 	const Size resolution() const;
 
@@ -178,14 +177,6 @@ void MaliC55CameraData::initTPGData()
 	tpgResolution_ = tpgSizes_.back();
 }
 
-const std::vector<unsigned int> MaliC55CameraData::mbusCodes() const
-{
-	if (sensor_)
-		return sensor_->mbusCodes();
-
-	return tpgCodes_;
-}
-
 const std::vector<Size> MaliC55CameraData::sizes(unsigned int mbusCode) const
 {
 	if (sensor_)
-- 
2.45.2



More information about the libcamera-devel mailing list