Skip to content

Commit

Permalink
tests/file_check: remove unused variable
Browse files Browse the repository at this point in the history
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: Ryan Moeller <[email protected]>
Signed-off-by: Ahelenia Ziemiańska <[email protected]>
Closes openzfs#12187
  • Loading branch information
nabijaczleweli authored and tonyhutter committed Dec 6, 2021
1 parent e20186f commit ac9b1aa
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tests/zfs-tests/cmd/file_check/file_check.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ main(int argc, char **argv)
long i, n;
unsigned char fillchar = DATA;
int bigbuffersize = BIGBUFFERSIZE;
int64_t read_count = 0;

/*
* Validate arguments
Expand Down Expand Up @@ -78,8 +77,6 @@ main(int argc, char **argv)
exit(1);
}
}

read_count += n;
} while (n == bigbuffersize);

return (0);
Expand Down

0 comments on commit ac9b1aa

Please sign in to comment.