Skip to content

Commit

Permalink
staging: iio: remove unused variable
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Acked-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Peter Meerwald authored and Greg Kroah-Hartman committed Jun 26, 2012
1 parent 1d633fd commit 1093792
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions drivers/staging/iio/Documentation/generic_buffer.c
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,6 @@ int main(int argc, char **argv)


int ret, c, i, j, toread;

FILE *fp_ev;
int fp;

int num_channels;
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/iio/Documentation/iio_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 1093792

Please sign in to comment.