KVM: s390: use WARN_ON_ONCE only for checking
authorDavid Hildenbrand <david@redhat.com>
Wed, 30 Aug 2017 16:06:01 +0000 (18:06 +0200)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Thu, 31 Aug 2017 11:49:39 +0000 (13:49 +0200)
commit3dbf0205b18c9db9ee86d886c94e731cc1fa7f09
tree81726f6f62c5ed31c6465137327f3d61728a0ae0
parent8149fc07724a1eee65d772749935bd923ae4f686
KVM: s390: use WARN_ON_ONCE only for checking

Move the real logic that always has to be executed out of the
WARN_ON_ONCE.

Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20170830160603.5452-3-david@redhat.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
arch/s390/kvm/interrupt.c