summaryrefslogtreecommitdiffstats
path: root/drivers/staging/iio/ring_sw.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/ring_sw.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/ring_sw.h')
-rw-r--r--drivers/staging/iio/ring_sw.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/staging/iio/ring_sw.h b/drivers/staging/iio/ring_sw.h
index ee86020493ff..7d565240531f 100644
--- a/drivers/staging/iio/ring_sw.h
+++ b/drivers/staging/iio/ring_sw.h
@@ -97,13 +97,11 @@ int iio_store_to_sw_rb(struct iio_ring_buffer *r, u8 *data, s64 timestamp);
* @r: ring buffer instance
* @n: number of datum's to try and read
* @buf: userspace buffer into which data is copied
- * @dead_offset: how much of the stored data was possibly invalidated by
* the end of the copy.
**/
int iio_read_first_n_sw_rb(struct iio_ring_buffer *r,
size_t n,
- char __user *buf,
- int *dead_offset);
+ char __user *buf);
/**
* iio_request_update_sw_rb() - update params if update needed