Commit 10937921 authored by Peter Meerwald's avatar Peter Meerwald Committed by Greg Kroah-Hartman

staging: iio: remove unused variable

Signed-off-by: default avatarPeter Meerwald <pmeerw@pmeerw.net>
Acked-by: default avatarJonathan Cameron <jic23@kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 1d633fd1
...@@ -131,8 +131,6 @@ int main(int argc, char **argv) ...@@ -131,8 +131,6 @@ int main(int argc, char **argv)
int ret, c, i, j, toread; int ret, c, i, j, toread;
FILE *fp_ev;
int fp; int fp;
int num_channels; int num_channels;
......
...@@ -280,7 +280,7 @@ inline int build_channel_array(const char *device_dir, ...@@ -280,7 +280,7 @@ inline int build_channel_array(const char *device_dir,
{ {
DIR *dp; DIR *dp;
FILE *sysfsfp; FILE *sysfsfp;
int count, temp, i; int count, i;
struct iio_channel_info *current; struct iio_channel_info *current;
int ret; int ret;
const struct dirent *ent; const struct dirent *ent;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment