diff mbox series

[2/3] iio: adc: pac1934: remove unused struct 'samp_rate_mapping'

Message ID 20240522230457.478156-3-linux@treblig.org (mailing list archive)
State Accepted
Headers show
Series IIO dead struct cleanup | expand

Commit Message

Dr. David Alan Gilbert May 22, 2024, 11:04 p.m. UTC
From: "Dr. David Alan Gilbert" <linux@treblig.org>

'samp_rate_mapping' has been unused since the original
commit 0fb528c8255b ("iio: adc: adding support for PAC193x").

Remove it.

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
---
 drivers/iio/adc/pac1934.c | 5 -----
 1 file changed, 5 deletions(-)
diff mbox series

Patch

diff --git a/drivers/iio/adc/pac1934.c b/drivers/iio/adc/pac1934.c
index 456f12faa348..ae24a27805ab 100644
--- a/drivers/iio/adc/pac1934.c
+++ b/drivers/iio/adc/pac1934.c
@@ -227,11 +227,6 @@  struct pac1934_features {
 	const char	*name;
 };
 
-struct samp_rate_mapping {
-	u16 samp_rate;
-	u8 shift2value;
-};
-
 static const unsigned int samp_rate_map_tbl[] = {
 	[PAC1934_SAMP_1024SPS] = 1024,
 	[PAC1934_SAMP_256SPS] = 256,