Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Antoniu Miclaus and committed by
Jonathan Cameron
3e55c3dc 3ec0a13a

-2
-2
drivers/iio/accel/sca3000.c
··· 153 153 * struct sca3000_state - device instance state information 154 154 * @us: the associated spi device 155 155 * @info: chip variant information 156 - * @last_timestamp: the timestamp of the last event 157 156 * @mo_det_use_count: reference counter for the motion detection unit 158 157 * @lock: lock used to protect elements of sca3000_state 159 158 * and the underlying device state. ··· 162 163 struct sca3000_state { 163 164 struct spi_device *us; 164 165 const struct sca3000_chip_info *info; 165 - s64 last_timestamp; 166 166 int mo_det_use_count; 167 167 struct mutex lock; 168 168 /* Can these share a cacheline ? */