]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
iio: accel: sca3000: remove unused last_timestamp field
authorAntoniu Miclaus <antoniu.miclaus@analog.com>
Thu, 29 Jan 2026 14:11:59 +0000 (16:11 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 29 Jan 2026 16:25:39 +0000 (16:25 +0000)
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>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/accel/sca3000.c

index bfa8a3f5a92f439adaa306d8cfeb67f86946db34..950b4c6724845a04abb0df555a078d6e77bca809 100644 (file)
  * 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.
 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 ? */