staging: iio: remove unused variable

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Acked-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Peter Meerwald 2012-06-25 23:12:12 +02:00 committed by Greg Kroah-Hartman
parent 1d633fd153
commit 109379210e
2 changed files with 1 additions and 3 deletions

View 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;

View 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;