staging: iio: remove unused variable
authorPeter Meerwald <pmeerw@pmeerw.net>
Mon, 25 Jun 2012 21:12:12 +0000 (23:12 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 26 Jun 2012 21:57:29 +0000 (14:57 -0700)
Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Acked-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/iio/Documentation/generic_buffer.c
drivers/staging/iio/Documentation/iio_utils.h

index 361e481..7b2a12c 100644 (file)
@@ -131,8 +131,6 @@ int main(int argc, char **argv)
 
 
        int ret, c, i, j, toread;
-
-       FILE *fp_ev;
        int fp;
 
        int num_channels;
index 6f3a392..6fe8540 100644 (file)
@@ -280,7 +280,7 @@ inline int build_channel_array(const char *device_dir,
 {
        DIR *dp;
        FILE *sysfsfp;
-       int count, temp, i;
+       int count, i;
        struct iio_channel_info *current;
        int ret;
        const struct dirent *ent;