Skip to content

Commit

Permalink
iio: buffer: drop left-over 'stufftoread' field
Browse files Browse the repository at this point in the history
This seems like a left-over from a734834 ("staging:iio: Add polling
of events on the ring access chrdev.").

Then it was moved into the sca3000 driver around 9dd4694 ("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 152a6a8
("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>
  • Loading branch information
Alexandru Ardelean authored and Jonathan Cameron committed Apr 19, 2020
1 parent 5a464c6 commit 9159c7c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions include/linux/iio/buffer_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 9159c7c

Please sign in to comment.