s390/cmf: simplify cmb_copy_wait
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Wed, 6 Sep 2017 17:05:29 +0000 (19:05 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 28 Sep 2017 05:29:42 +0000 (07:29 +0200)
commit60f3eac3a1dc127541817af8042b6711e63dc6e1
tree9b6f0c7f2496587afdd7c0f7ac19c9a8bf24d28a
parenteeec1e435fd0195287ee3224c3837b3d71dedc74
s390/cmf: simplify cmb_copy_wait

No need for refcounting - the data can be on stack. Also change
the locking in this function to only use spin_lock_irq (the
function waits, thus it's never called from IRQ context).

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