diff options
| author | Antoniu Miclaus <antoniu.miclaus@analog.com> | 2026-01-29 16:11:59 +0200 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2026-01-29 16:25:39 +0000 |
| commit | 3e55c3dc93fdbb1cc2ff436fa10996468288c28c (patch) | |
| tree | 59714f792a40f6c6c03a7ed5834071d2bbb36781 | |
| parent | 3ec0a13ae21c68a34481dc2b128a9c064e26d22d (diff) | |
iio: accel: sca3000: remove unused last_timestamp field
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>
| -rw-r--r-- | drivers/iio/accel/sca3000.c | 2 |
1 files changed, 0 insertions, 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 ? */ |
