s390/dasd: remove superfluous virt_to_phys() conversion
authorHeiko Carstens <hca@linux.ibm.com>
Thu, 7 Mar 2024 12:28:10 +0000 (13:28 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Wed, 13 Mar 2024 08:23:46 +0000 (09:23 +0100)
commitbdd0ab97506cf3f4667b8c42d5b20606c2321f46
tree7ced40e753380dc90f88c6168990806772344fff
parent8adc56b074322a0cd03a61418295969f19e5fb0e
s390/dasd: remove superfluous virt_to_phys() conversion

Only the last 12 bits of virtual / physical addresses are used when masking
with IDA_BLOCK_SIZE - 1. Given that the bits are the same regardless of
virtual or physical address, remove the virtual to physical address
conversion.

Reviewed-by: Stefan Haberland <sth@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
drivers/s390/block/dasd_eckd.c