Skip to content

Commit 9159c7c

Browse files
commodoJonathan Cameron
authored andcommitted
iio: buffer: drop left-over 'stufftoread' field
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>
1 parent 5a464c6 commit 9159c7c

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

‎include/linux/iio/buffer_impl.h‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,6 @@ struct iio_buffer {
115115
*/
116116
struct attribute_group scan_el_group;
117117

118-
/* @stufftoread: Flag to indicate new data. */
119-
bool stufftoread;
120-
121118
/* @attrs: Standard attributes of the buffer. */
122119
const struct attribute **attrs;
123120

0 commit comments

Comments
 (0)