s390/cmf: simplify copy_block
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Wed, 6 Sep 2017 08:44:23 +0000 (10:44 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 28 Sep 2017 05:29:42 +0000 (07:29 +0200)
commit81b050b564b814585e1515b218783c8ad56913f1
tree66087098513788356b2f24b03c0ea66120486e49
parent60f3eac3a1dc127541817af8042b6711e63dc6e1
s390/cmf: simplify copy_block

cmf_copy_block tries to ensure data consistency by copying the
channel measurement block twice and comparing the data. This was
needed on very old machines only. Nowadays we guarantee
consistency by copying the data when the channel is idle.

Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Reviewed-by: Peter Oberparleiter <oberpar@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/cio/cmf.c