From ac9b1aa1bfc61a0986d0fedd623face9e4494abc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=BD=D0=B0=D0=B1?= Date: Thu, 3 Jun 2021 18:33:37 +0200 Subject: [PATCH] tests/file_check: remove unused variable MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Brian Behlendorf Reviewed-by: Ryan Moeller Signed-off-by: Ahelenia ZiemiaƄska Closes #12187 --- tests/zfs-tests/cmd/file_check/file_check.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/zfs-tests/cmd/file_check/file_check.c b/tests/zfs-tests/cmd/file_check/file_check.c index 5df0ea735..3d3db753f 100644 --- a/tests/zfs-tests/cmd/file_check/file_check.c +++ b/tests/zfs-tests/cmd/file_check/file_check.c @@ -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 @@ -78,8 +77,6 @@ main(int argc, char **argv) exit(1); } } - - read_count += n; } while (n == bigbuffersize); return (0);