block/file-posix: drop unallocated_blocks_are_zero
commitac9185603e5baaab6c53e4e98eefce31f047121c
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Thu, 28 May 2020 09:44:02 +0000 (28 12:44 +0300)
committerMax Reitz <mreitz@redhat.com>
Mon, 6 Jul 2020 08:34:14 +0000 (6 10:34 +0200)
treebea29c5c733c894fd2caad0dc49663e8c817a8d0
parent32d293c8c668d4e0d19594d8af359627dd7260f9
block/file-posix: drop unallocated_blocks_are_zero

raw_co_block_status() in block/file-posix.c never returns 0, so
unallocated_blocks_are_zero is useless (it doesn't affect the only user
of the field: bdrv_co_block_status()). Drop it.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20200528094405.145708-8-vsementsov@virtuozzo.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
block/file-posix.c