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 361e481faac2c7781b5775492f57d6308e0cfe82..7b2a12c3e9d9d72ea390704189096a11974c618f 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 6f3a392297ec07d711e0c75a51cc62112acb3e97..6fe8540090bea0d2b8f521f4296cf20aefacd82f 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;