staging: iio: adc: max1363: remove unused variable
authorMichael Hennerich <michael.hennerich@analog.com>
Wed, 6 Oct 2010 15:49:02 +0000 (17:49 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 7 Oct 2010 17:06:18 +0000 (10:06 -0700)
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/iio/adc/max1363_ring.c

index 896a3672b3327d69831cc9e2c861651b1b4ea207..5532f3e466bcb035d9eaa03cfd153bf20b49562b 100644 (file)
@@ -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)) {