aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/iio/adc/max1363_ring.c
diff options
context:
space:
mode:
authorMichael Hennerich <michael.hennerich@analog.com>2010-10-06 17:49:02 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2010-10-07 10:06:18 -0700
commitba6584946e85d477311ddf30a072fbc45572798c (patch)
treeefbcdc4cb7581737bd7c986ad254f42c23a09765 /drivers/staging/iio/adc/max1363_ring.c
parentd0a530441ea9f2f10172c7f31a007f6b23d3fc19 (diff)
staging: iio: adc: max1363: remove unused variable
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/iio/adc/max1363_ring.c')
-rw-r--r--drivers/staging/iio/adc/max1363_ring.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/iio/adc/max1363_ring.c b/drivers/staging/iio/adc/max1363_ring.c
index 896a3672b33..5532f3e466b 100644
--- a/drivers/staging/iio/adc/max1363_ring.c
+++ b/drivers/staging/iio/adc/max1363_ring.c
@@ -31,7 +31,6 @@
int max1363_single_channel_from_ring(long mask, struct max1363_state *st)
{
struct iio_ring_buffer *ring = st->indio_dev->ring;
- unsigned long numvals;
int count = 0, ret;
u8 *ring_data;
if (!(st->current_mode->modemask & mask)) {