diff mbox series

[04/28] media: atomisp: gc0310: Remove some unused structure definitions

Message ID 20230401145926.596216-5-hdegoede@redhat.com
State Accepted
Commit 8b6afba5b9ec5d906f264157654d983cb5a6b1c8
Headers show
Series media: atomisp: Further sensor rework + exotic features removal | expand

Commit Message

Hans de Goede April 1, 2023, 2:59 p.m. UTC
Drop the unused struct gc0310_format and struct regval_list definitions.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
 drivers/staging/media/atomisp/i2c/gc0310.h | 11 -----------
 1 file changed, 11 deletions(-)
diff mbox series

Patch

diff --git a/drivers/staging/media/atomisp/i2c/gc0310.h b/drivers/staging/media/atomisp/i2c/gc0310.h
index cae480ae6fba..6947bf53ff4f 100644
--- a/drivers/staging/media/atomisp/i2c/gc0310.h
+++ b/drivers/staging/media/atomisp/i2c/gc0310.h
@@ -107,11 +107,6 @@ 
 
 #define GC0310_BIN_FACTOR_MAX			3
 
-struct regval_list {
-	u16 reg_num;
-	u8 value;
-};
-
 struct gc0310_resolution {
 	u8 *desc;
 	const struct gc0310_reg *regs;
@@ -126,12 +121,6 @@  struct gc0310_resolution {
 	bool used;
 };
 
-struct gc0310_format {
-	u8 *desc;
-	u32 pixelformat;
-	struct gc0310_reg *regs;
-};
-
 /*
  * gc0310 device structure.
  */