Commit 9159c7c0 authored by Alexandru Ardelean's avatar Alexandru Ardelean Committed by Jonathan Cameron

iio: buffer: drop left-over 'stufftoread' field

This seems like a left-over from a7348347 ("staging:iio: Add polling
of events on the ring access chrdev.").

Then it was moved into the sca3000 driver around 9dd4694d ("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 152a6a88
("staging:iio:accel:sca3000 move to hybrid hard / soft buffer design.")
Signed-off-by: default avatarAlexandru Ardelean <alexandru.ardelean@analog.com>
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent 5a464c6e
...@@ -115,9 +115,6 @@ struct iio_buffer { ...@@ -115,9 +115,6 @@ struct iio_buffer {
*/ */
struct attribute_group scan_el_group; struct attribute_group scan_el_group;
/* @stufftoread: Flag to indicate new data. */
bool stufftoread;
/* @attrs: Standard attributes of the buffer. */ /* @attrs: Standard attributes of the buffer. */
const struct attribute **attrs; const struct attribute **attrs;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment