]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: s390: get rid of constant condition in ipte_unlock_simple
authorChristian Borntraeger <borntraeger@de.ibm.com>
Wed, 3 Sep 2014 19:17:03 +0000 (21:17 +0200)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Wed, 10 Sep 2014 10:19:38 +0000 (12:19 +0200)
commit4c1bac4d9414dc667335605af5667f634ddc4fa6
tree9e5dcad42d0dc13ad1074df9549a0d06965c6a0a
parent8c28b72d89e99638acd60690ab85282dddaf52f7
KVM: s390: get rid of constant condition in ipte_unlock_simple

Due to the earlier check we know that ipte_lock_count must be 0.
No need to add a useless if. Let's make clear that we are going
to always wakeup when we execute that code.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Acked-by: Heiko Carstens <heiko.carstens@de.ibm.com>
arch/s390/kvm/gaccess.c