summaryrefslogtreecommitdiffstats
path: root/drivers/staging/iio/kfifo_buf.h
diff options
context:
space:
mode:
authorJonathan Cameron2011-05-18 15:41:02 +0200
committerGreg Kroah-Hartman2011-05-20 01:06:13 +0200
commitb26a2188e0464f5962caff62074c91ef1c92056a (patch)
tree045f97429a2b8a8e45c94011b8ea11d4402cc4ea /drivers/staging/iio/kfifo_buf.h
parentstaging:iio:sca3000 extract old event handling and move to poll for events fr... (diff)
downloadkernel-qcow2-linux-b26a2188e0464f5962caff62074c91ef1c92056a.tar.gz
kernel-qcow2-linux-b26a2188e0464f5962caff62074c91ef1c92056a.tar.xz
kernel-qcow2-linux-b26a2188e0464f5962caff62074c91ef1c92056a.zip
staging:iio:buffering remove unused parameter dead_offset from read_last_n in all buffer implementations.
This element has been usused by the core for quite some time. sca3000 set it none the less until the rewrite in the previous patch (and hence didn't work). Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/iio/kfifo_buf.h')
-rw-r--r--drivers/staging/iio/kfifo_buf.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/iio/kfifo_buf.h b/drivers/staging/iio/kfifo_buf.h
index 457010d8af86..eb337a47dd64 100644
--- a/drivers/staging/iio/kfifo_buf.h
+++ b/drivers/staging/iio/kfifo_buf.h
@@ -23,8 +23,7 @@ void iio_unmark_kfifo_in_use(struct iio_ring_buffer *r);
int iio_store_to_kfifo(struct iio_ring_buffer *r, u8 *data, s64 timestamp);
int iio_read_first_n_kfifo(struct iio_ring_buffer *r,
size_t n,
- char __user *buf,
- int *dead_offset);
+ char __user *buf);
int iio_request_update_kfifo(struct iio_ring_buffer *r);
int iio_mark_update_needed_kfifo(struct iio_ring_buffer *r);