diff options
author | Peter Meerwald <pmeerw@pmeerw.net> | 2012-06-25 21:12:12 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-06-26 21:57:29 (GMT) |
commit | 109379210eb57a252e245363659168a1f1ab8691 (patch) | |
tree | 0f40a737a4d808560129de85e79e6877fa53eaf9 /drivers/staging/iio/Documentation | |
parent | 1d633fd153844c8e954b0b72789279bf588cd025 (diff) | |
download | linux-fsl-qoriq-109379210eb57a252e245363659168a1f1ab8691.tar.xz |
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>
Diffstat (limited to 'drivers/staging/iio/Documentation')
-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 361e481..7b2a12c 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 6f3a392..6fe8540 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; |