summaryrefslogtreecommitdiffstats
path: root/include/linux/iio
diff options
context:
space:
mode:
authorAlexandru Ardelean <alexandru.ardelean@analog.com>2020-03-28 18:34:21 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2020-04-19 16:56:21 +0100
commit9159c7c06cebfab4bebca0a930b924ad29437638 (patch)
tree79543f6b9454b01e4912082155069c0c50cceb86 /include/linux/iio
parent5a464c6e274c94ef16f4127e139449d9e4742823 (diff)
downloadlinux-9159c7c06cebfab4bebca0a930b924ad29437638.tar.gz
linux-9159c7c06cebfab4bebca0a930b924ad29437638.tar.bz2
linux-9159c7c06cebfab4bebca0a930b924ad29437638.zip
iio: buffer: drop left-over 'stufftoread' field
This seems like a left-over from a7348347ba8a4 ("staging:iio: Add polling of events on the ring access chrdev."). Then it was moved into the sca3000 driver around 9dd4694dafbd8 ("iio: staging: sca3000: hide stufftoread logic"), and that one seemed to be the only user of this. Then it eventually was no longer used after 152a6a884ae1 ("staging:iio:accel:sca3000 move to hybrid hard / soft buffer design.") Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/linux/iio')
-rw-r--r--include/linux/iio/buffer_impl.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/iio/buffer_impl.h b/include/linux/iio/buffer_impl.h
index a4d2d8061ef6..1e7edf6bed96 100644
--- a/include/linux/iio/buffer_impl.h
+++ b/include/linux/iio/buffer_impl.h
@@ -115,9 +115,6 @@ struct iio_buffer {
*/
struct attribute_group scan_el_group;
- /* @stufftoread: Flag to indicate new data. */
- bool stufftoread;
-
/* @attrs: Standard attributes of the buffer. */
const struct attribute **attrs;