]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
seek_sanity_test: drop unused pagesz
authorDavid Disseldorp <ddiss@suse.de>
Tue, 11 Oct 2022 09:23:40 +0000 (11:23 +0200)
committerZorro Lang <zlang@kernel.org>
Sat, 15 Oct 2022 04:42:57 +0000 (12:42 +0800)
commitbd19653e345f9d7a30a2a95a2b70314386979038
tree06a6df69f5ddea12d07a0e2d1025eecfa3c081e5
parent436cb87154a45fab2fccc9aac5fcc9c81d6245aa
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>
src/seek_sanity_test.c