From: Antoniu Miclaus <antoniu.miclaus@analog.com>
To: "Michael Hennerich" <michael.hennerich@analog.com>,
"Lars-Peter Clausen" <lars@metafoo.de>,
"Jonathan Cameron" <jic23@kernel.org>,
"David Lechner" <dlechner@baylibre.com>,
"Nuno Sá" <nuno.sa@analog.com>,
"Andy Shevchenko" <andy@kernel.org>,
"Ramona Gradinariu" <ramona.gradinariu@analog.com>,
"Antoniu Miclaus" <antoniu.miclaus@analog.com>,
"Andrew Ijano" <andrew.ijano@gmail.com>,
linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH 2/3] iio: accel: adxl380: remove unused odr field
Date: Thu, 29 Jan 2026 16:11:58 +0200 [thread overview]
Message-ID: <20260129141205.106285-2-antoniu.miclaus@analog.com> (raw)
In-Reply-To: <20260129141205.106285-1-antoniu.miclaus@analog.com>
Remove unused odr field from adxl380_state struct.
The field is declared but never accessed in the driver.
Signed-off-by: Antoniu Miclaus <antoniu.miclaus@analog.com>
---
drivers/iio/accel/adxl380.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/iio/accel/adxl380.c b/drivers/iio/accel/adxl380.c
index aef5109c1ddd..4c584f6ec902 100644
--- a/drivers/iio/accel/adxl380.c
+++ b/drivers/iio/accel/adxl380.c
@@ -206,7 +206,6 @@ struct adxl380_state {
struct mutex lock;
enum adxl380_axis tap_axis_en;
u8 range;
- u8 odr;
u8 fifo_set_size;
u8 transf_buf[3];
u16 watermark;
--
2.43.0
next prev parent reply other threads:[~2026-01-29 14:13 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-29 14:11 [PATCH 1/3] iio: accel: adxl372: remove unused int2_bitmask field Antoniu Miclaus
2026-01-29 14:11 ` Antoniu Miclaus [this message]
2026-01-29 16:24 ` [PATCH 2/3] iio: accel: adxl380: remove unused odr field Jonathan Cameron
2026-01-29 16:38 ` Miclaus, Antoniu
2026-01-29 14:11 ` [PATCH 3/3] iio: accel: sca3000: remove unused last_timestamp field Antoniu Miclaus
2026-01-29 16:26 ` Jonathan Cameron
2026-01-29 14:28 ` [PATCH 1/3] iio: accel: adxl372: remove unused int2_bitmask field Andy Shevchenko
2026-01-29 14:37 ` Miclaus, Antoniu
2026-01-29 15:36 ` Andy Shevchenko
2026-01-29 16:25 ` Jonathan Cameron
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260129141205.106285-2-antoniu.miclaus@analog.com \
--to=antoniu.miclaus@analog.com \
--cc=andrew.ijano@gmail.com \
--cc=andy@kernel.org \
--cc=dlechner@baylibre.com \
--cc=jic23@kernel.org \
--cc=lars@metafoo.de \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=michael.hennerich@analog.com \
--cc=nuno.sa@analog.com \
--cc=ramona.gradinariu@analog.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox