diff options
author | Nir Soffer | 2019-08-27 20:59:13 +0200 |
---|---|---|
committer | Max Reitz | 2019-09-16 14:48:30 +0200 |
commit | 8972571509f15bd8e31fa9ded795a11e22c0d1d3 (patch) | |
tree | ae80eebe154df6640c0cd0fbb34e386a73168cda /bsd-user/errno_defs.h | |
parent | block: Use QEMU_IS_ALIGNED (diff) | |
download | qemu-8972571509f15bd8e31fa9ded795a11e22c0d1d3.tar.gz qemu-8972571509f15bd8e31fa9ded795a11e22c0d1d3.tar.xz qemu-8972571509f15bd8e31fa9ded795a11e22c0d1d3.zip |
block: Remove unused masks
Replace confusing usage:
~BDRV_SECTOR_MASK
With more clear:
(BDRV_SECTOR_SIZE - 1)
Remove BDRV_SECTOR_MASK and the unused BDRV_BLOCK_OFFSET_MASK which was
it's last user.
Signed-off-by: Nir Soffer <nsoffer@redhat.com>
Message-id: 20190827185913.27427-3-nsoffer@redhat.com
Reviewed-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'bsd-user/errno_defs.h')
0 files changed, 0 insertions, 0 deletions