Skip to content

Commit

Permalink
tools: iio: lsiio: Remove unused variables
Browse files Browse the repository at this point in the history
This patch removes unused variables from lsiio.c in order
to get rid of the warnings regarding them.

Signed-off-by: Roberta Dobrescu <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
  • Loading branch information
robertaDobrescu authored and jic23 committed Mar 9, 2015
1 parent 976d9ab commit 3fca6a2
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions tools/iio/lsiio.c
Original file line number Diff line number Diff line change
Expand Up @@ -95,12 +95,7 @@ static int dump_one_trigger(const char *dev_dir_name)
static void dump_devices(void)
{
const struct dirent *ent;
int number, numstrlen;

FILE *nameFile;
DIR *dp;
char thisname[IIO_MAX_NAME_LENGTH];
char *filename;

dp = opendir(iio_dir);
if (dp == NULL) {
Expand Down

0 comments on commit 3fca6a2

Please sign in to comment.