[04/19] libcamera: rkisp1: Remove unused includes
diff mbox series

Message ID 20240830131904.1090330-5-mzamazal@redhat.com
State Accepted
Headers show
Series
  • Remove unused includes
Related show

Commit Message

Milan Zamazal Aug. 30, 2024, 1:18 p.m. UTC
The includes that are not used can be removed.

Signed-off-by: Milan Zamazal <mzamazal@redhat.com>
---
 src/ipa/rkisp1/algorithms/agc.h          | 1 -
 src/ipa/rkisp1/algorithms/awb.cpp        | 2 --
 src/ipa/rkisp1/algorithms/ccm.cpp        | 4 ----
 src/ipa/rkisp1/algorithms/dpf.cpp        | 2 --
 src/ipa/rkisp1/rkisp1.cpp                | 2 --
 src/ipa/rkisp1/utils.h                   | 1 -
 src/libcamera/pipeline/rkisp1/rkisp1.cpp | 2 --
 7 files changed, 14 deletions(-)

Patch
diff mbox series

diff --git a/src/ipa/rkisp1/algorithms/agc.h b/src/ipa/rkisp1/algorithms/agc.h
index d64ff42c..aa86f2c5 100644
--- a/src/ipa/rkisp1/algorithms/agc.h
+++ b/src/ipa/rkisp1/algorithms/agc.h
@@ -15,7 +15,6 @@ 
 #include <libcamera/geometry.h>
 
 #include "libipa/agc_mean_luminance.h"
-#include "libipa/histogram.h"
 
 #include "algorithm.h"
 
diff --git a/src/ipa/rkisp1/algorithms/awb.cpp b/src/ipa/rkisp1/algorithms/awb.cpp
index b40f405f..a5972015 100644
--- a/src/ipa/rkisp1/algorithms/awb.cpp
+++ b/src/ipa/rkisp1/algorithms/awb.cpp
@@ -8,8 +8,6 @@ 
 #include "awb.h"
 
 #include <algorithm>
-#include <cmath>
-#include <iomanip>
 
 #include <libcamera/base/log.h>
 
diff --git a/src/ipa/rkisp1/algorithms/ccm.cpp b/src/ipa/rkisp1/algorithms/ccm.cpp
index ca80112a..47a8b7e5 100644
--- a/src/ipa/rkisp1/algorithms/ccm.cpp
+++ b/src/ipa/rkisp1/algorithms/ccm.cpp
@@ -7,10 +7,6 @@ 
 
 #include "ccm.h"
 
-#include <algorithm>
-#include <chrono>
-#include <cmath>
-#include <tuple>
 #include <vector>
 
 #include <libcamera/base/log.h>
diff --git a/src/ipa/rkisp1/algorithms/dpf.cpp b/src/ipa/rkisp1/algorithms/dpf.cpp
index 079cc2c3..94080b28 100644
--- a/src/ipa/rkisp1/algorithms/dpf.cpp
+++ b/src/ipa/rkisp1/algorithms/dpf.cpp
@@ -7,8 +7,6 @@ 
 
 #include "dpf.h"
 
-#include <cmath>
-
 #include <libcamera/base/log.h>
 
 #include <libcamera/control_ids.h>
diff --git a/src/ipa/rkisp1/rkisp1.cpp b/src/ipa/rkisp1/rkisp1.cpp
index 79ae9289..55269579 100644
--- a/src/ipa/rkisp1/rkisp1.cpp
+++ b/src/ipa/rkisp1/rkisp1.cpp
@@ -6,8 +6,6 @@ 
  */
 
 #include <algorithm>
-#include <math.h>
-#include <queue>
 #include <stdint.h>
 #include <string.h>
 
diff --git a/src/ipa/rkisp1/utils.h b/src/ipa/rkisp1/utils.h
index 450f2244..5f38b50b 100644
--- a/src/ipa/rkisp1/utils.h
+++ b/src/ipa/rkisp1/utils.h
@@ -8,7 +8,6 @@ 
 #pragma once
 
 #include <cmath>
-#include <limits>
 #include <type_traits>
 
 namespace libcamera {
diff --git a/src/libcamera/pipeline/rkisp1/rkisp1.cpp b/src/libcamera/pipeline/rkisp1/rkisp1.cpp
index 710d9573..5ff8eb9c 100644
--- a/src/libcamera/pipeline/rkisp1/rkisp1.cpp
+++ b/src/libcamera/pipeline/rkisp1/rkisp1.cpp
@@ -6,8 +6,6 @@ 
  */
 
 #include <algorithm>
-#include <array>
-#include <iomanip>
 #include <memory>
 #include <numeric>
 #include <queue>