[PATCH 3/9] libcamera: software_isp: lut: Remove maybe_unused on a used argument

Milan Zamazal mzamazal at redhat.com
Wed Nov 20 19:00:58 CET 2024


`params' argument of Lut::prepare is actually used, let's remove
maybe_unused from it.

Signed-off-by: Milan Zamazal <mzamazal at redhat.com>
---
 src/ipa/simple/algorithms/lut.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/ipa/simple/algorithms/lut.cpp b/src/ipa/simple/algorithms/lut.cpp
index 7fc87fc5f..8fca96b0a 100644
--- a/src/ipa/simple/algorithms/lut.cpp
+++ b/src/ipa/simple/algorithms/lut.cpp
@@ -47,7 +47,7 @@ void Lut::updateGammaTable(IPAContext &context)
 void Lut::prepare(IPAContext &context,
 		  [[maybe_unused]] const uint32_t frame,
 		  [[maybe_unused]] IPAFrameContext &frameContext,
-		  [[maybe_unused]] DebayerParams *params)
+		  DebayerParams *params)
 {
 	/*
 	 * Update the gamma table if needed. This means if black level changes
-- 
2.44.2



More information about the libcamera-devel mailing list