diff options
author | David Disseldorp <ddiss@suse.de> | 2022-10-11 11:23:40 +0200 |
---|---|---|
committer | Zorro Lang <zlang@kernel.org> | 2022-10-15 12:42:57 +0800 |
commit | bd19653e345f9d7a30a2a95a2b70314386979038 (patch) | |
tree | 06a6df69f5ddea12d07a0e2d1025eecfa3c081e5 /src | |
parent | 436cb87154a45fab2fccc9aac5fcc9c81d6245aa (diff) |
seek_sanity_test: drop unused pagesz
b91889d7 ("seek_sanity_test: use XFS ioctls to determine file allocation
unit size") left this unused, resulting in:
seek_sanity_test.c: In function 'get_io_sizes':
seek_sanity_test.c:70:6: warning: unused variable 'pagesz'
int pagesz = sysconf(_SC_PAGE_SIZE);
^~~~~~
Signed-off-by: David Disseldorp <ddiss@suse.de>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/seek_sanity_test.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/seek_sanity_test.c b/src/seek_sanity_test.c index 78f835e8..8a586f74 100644 --- a/src/seek_sanity_test.c +++ b/src/seek_sanity_test.c @@ -67,7 +67,6 @@ static int get_io_sizes(int fd) off_t pos = 0, offset = 1; struct stat buf; int shift, ret; - int pagesz = sysconf(_SC_PAGE_SIZE); ret = detect_xfs_alloc_unit(fd); if (!ret) |