From: Jonathan Cameron <jic23@kernel.org>
To: Antoniu Miclaus <antoniu.miclaus@analog.com>
Cc: "Lars-Peter Clausen" <lars@metafoo.de>,
"Michael Hennerich" <Michael.Hennerich@analog.com>,
"David Lechner" <dlechner@baylibre.com>,
"Nuno Sá" <nuno.sa@analog.com>,
"Andy Shevchenko" <andy@kernel.org>,
"Ramona Gradinariu" <ramona.gradinariu@analog.com>,
"Andrew Ijano" <andrew.ijano@gmail.com>,
linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 3/3] iio: accel: sca3000: remove unused last_timestamp field
Date: Thu, 29 Jan 2026 16:26:02 +0000 [thread overview]
Message-ID: <20260129162602.694ce7e8@jic23-huawei> (raw)
In-Reply-To: <20260129141205.106285-3-antoniu.miclaus@analog.com>
On Thu, 29 Jan 2026 16:11:59 +0200
Antoniu Miclaus <antoniu.miclaus@analog.com> wrote:
> Remove unused last_timestamp field from sca3000_state
> struct. The field is declared but never accessed in the
> driver.
>
> Signed-off-by: Antoniu Miclaus <antoniu.miclaus@analog.com>
Also fine so applied.
Thanks for tidying these up.
Jonathan
> ---
> drivers/iio/accel/sca3000.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/drivers/iio/accel/sca3000.c b/drivers/iio/accel/sca3000.c
> index bfa8a3f5a92f..950b4c672484 100644
> --- a/drivers/iio/accel/sca3000.c
> +++ b/drivers/iio/accel/sca3000.c
> @@ -153,7 +153,6 @@
> * struct sca3000_state - device instance state information
> * @us: the associated spi device
> * @info: chip variant information
> - * @last_timestamp: the timestamp of the last event
> * @mo_det_use_count: reference counter for the motion detection unit
> * @lock: lock used to protect elements of sca3000_state
> * and the underlying device state.
> @@ -163,7 +162,6 @@
> struct sca3000_state {
> struct spi_device *us;
> const struct sca3000_chip_info *info;
> - s64 last_timestamp;
> int mo_det_use_count;
> struct mutex lock;
> /* Can these share a cacheline ? */
next prev parent reply other threads:[~2026-01-29 16:26 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 ` [PATCH 2/3] iio: accel: adxl380: remove unused odr field Antoniu Miclaus
2026-01-29 16:24 ` 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 [this message]
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=20260129162602.694ce7e8@jic23-huawei \
--to=jic23@kernel.org \
--cc=Michael.Hennerich@analog.com \
--cc=andrew.ijano@gmail.com \
--cc=andy@kernel.org \
--cc=antoniu.miclaus@analog.com \
--cc=dlechner@baylibre.com \
--cc=lars@metafoo.de \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--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