From: Dominik Dingel Date: Mon, 10 Mar 2014 14:23:34 +0000 (+0100) Subject: KVM: s390: Removing untriggerable BUG_ONs X-Git-Tag: v3.15-rc1~118^2~17^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fed495d25e0137028c37678a14cd1d8466c02dd3;p=pandora-kernel.git KVM: s390: Removing untriggerable BUG_ONs The BUG_ON in kvm-s390.c is unreachable, as we get the vcpu per common code, which itself does this from the private_data field of the file descriptor, and there is no KVM_UNCREATE_VCPU. The __{set,unset}_cpu_idle BUG_ONs are not triggerable because the vcpu creation code already checks against KVM_MAX_VCPUS. Signed-off-by: Dominik Dingel Acked-by: Cornelia Huck Signed-off-by: Christian Borntraeger --- Reading git-diff-tree failed