s390/dcssblk: use IS_ALIGNED() for alignment checks

Use IS_ALIGNED() instead of cumbersome bit manipulations.

Reviewed-by: Gerald Schaefer <gerald.schaefer@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
This commit is contained in:
Alexander Gordeev 2023-07-11 17:59:42 +02:00 • committed by Heiko Carstens
commit 04b8698ae8