From: Antoniu Miclaus Date: Mon, 2 Feb 2026 11:25:57 +0000 (+0200) Subject: iio: adc: ti-ads1015: remove unused enabled field X-Git-Tag: v7.1-rc1~17^2~120^2~95 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0555e56f4c4b4b78191de7abf0ff6f8ab133a7c1;p=thirdparty%2Flinux.git iio: adc: ti-ads1015: remove unused enabled field Remove unused enabled field from ads1015_channel_data struct. The field is declared but never accessed in the driver. Signed-off-by: Antoniu Miclaus Reviewed-by: Andy Shevchenko Signed-off-by: Jonathan Cameron --- diff --git a/drivers/iio/adc/ti-ads1015.c b/drivers/iio/adc/ti-ads1015.c index f2a93c63ca14e..c7ffe47449e21 100644 --- a/drivers/iio/adc/ti-ads1015.c +++ b/drivers/iio/adc/ti-ads1015.c @@ -231,7 +231,6 @@ static const struct iio_event_spec ads1015_events[] = { } struct ads1015_channel_data { - bool enabled; unsigned int pga; unsigned int data_rate; };