summaryrefslogtreecommitdiffstats
path: root/drivers/staging/iio/kfifo_buf.h
diff options
context:
space:
mode:
authorJonathan Cameron <jic23@cam.ac.uk>2011-05-18 14:41:02 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2011-05-19 16:06:13 -0700
commitb26a2188e0464f5962caff62074c91ef1c92056a (patch)
tree045f97429a2b8a8e45c94011b8ea11d4402cc4ea /drivers/staging/iio/kfifo_buf.h
parent25888dc51163a566f8c8f18a84c100851d12738c (diff)
downloadop-kernel-dev-b26a2188e0464f5962caff62074c91ef1c92056a.zip
op-kernel-dev-b26a2188e0464f5962caff62074c91ef1c92056a.tar.gz
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 457010d..eb337a4 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);
OpenPOWER on IntegriCloud