[RFC,1/7] libcamera: ipa: simple: Remove an unused include from awb.cpp
diff mbox series

Message ID 20251112082715.17823-2-mzamazal@redhat.com
State New
Headers show
Series
  • Simple pipeline IPA cleanup
Related show

Commit Message

Milan Zamazal Nov. 12, 2025, 8:27 a.m. UTC
<algorithm> is not used any more.

Signed-off-by: Milan Zamazal <mzamazal@redhat.com>
---
 src/ipa/simple/algorithms/awb.cpp | 1 -
 1 file changed, 1 deletion(-)

Comments

Kieran Bingham Nov. 12, 2025, 9:36 a.m. UTC | #1
Quoting Milan Zamazal (2025-11-12 08:27:09)
> <algorithm> is not used any more.
> 

I can't see any use of std::min or std::clamp which might be used in the
future but in that case it could/should be re-added then.

so:


Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>

> Signed-off-by: Milan Zamazal <mzamazal@redhat.com>
> ---
>  src/ipa/simple/algorithms/awb.cpp | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/src/ipa/simple/algorithms/awb.cpp b/src/ipa/simple/algorithms/awb.cpp
> index cf78e9800..9de422519 100644
> --- a/src/ipa/simple/algorithms/awb.cpp
> +++ b/src/ipa/simple/algorithms/awb.cpp
> @@ -7,7 +7,6 @@
>  
>  #include "awb.h"
>  
> -#include <algorithm>
>  #include <numeric>
>  #include <stdint.h>
>  
> -- 
> 2.51.1
>

Patch
diff mbox series

diff --git a/src/ipa/simple/algorithms/awb.cpp b/src/ipa/simple/algorithms/awb.cpp
index cf78e9800..9de422519 100644
--- a/src/ipa/simple/algorithms/awb.cpp
+++ b/src/ipa/simple/algorithms/awb.cpp
@@ -7,7 +7,6 @@ 
 
 #include "awb.h"
 
-#include <algorithm>
 #include <numeric>
 #include <stdint.h>