diff options
author | Peter Meerwald <pmeerw@pmeerw.net> | 2012-06-25 23:12:12 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-06-26 14:57:29 -0700 |
commit | 109379210eb57a252e245363659168a1f1ab8691 (patch) | |
tree | 0f40a737a4d808560129de85e79e6877fa53eaf9 | |
parent | 1d633fd153844c8e954b0b72789279bf588cd025 (diff) | |
download | linux-109379210eb57a252e245363659168a1f1ab8691.tar.bz2 |
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>
-rw-r--r-- | drivers/staging/iio/Documentation/generic_buffer.c | 2 | ||||
-rw-r--r-- | drivers/staging/iio/Documentation/iio_utils.h | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/drivers/staging/iio/Documentation/generic_buffer.c b/drivers/staging/iio/Documentation/generic_buffer.c index 361e481faac2..7b2a12c3e9d9 100644 --- a/drivers/staging/iio/Documentation/generic_buffer.c +++ b/drivers/staging/iio/Documentation/generic_buffer.c @@ -131,8 +131,6 @@ int main(int argc, char **argv) int ret, c, i, j, toread; - - FILE *fp_ev; int fp; int num_channels; diff --git a/drivers/staging/iio/Documentation/iio_utils.h b/drivers/staging/iio/Documentation/iio_utils.h index 6f3a392297ec..6fe8540090be 100644 --- a/drivers/staging/iio/Documentation/iio_utils.h +++ b/drivers/staging/iio/Documentation/iio_utils.h @@ -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; |