From: Heiko Carstens Date: Tue, 13 Dec 2016 13:25:32 +0000 (+0100) Subject: KVM: s390: get rid of bogus cc initialization X-Git-Tag: v4.14-rc1~1448^2~41^2~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d051ae531324fb5130366d47e05bf8eadeb95535;p=platform%2Fkernel%2Flinux-rpi.git KVM: s390: get rid of bogus cc initialization The plo inline assembly has a cc output operand that is always written to and is also as such an operand declared. Therefore the compiler is free to omit the rather pointless and misleading initialization. Get rid of this. Signed-off-by: Heiko Carstens Signed-off-by: Christian Borntraeger --- diff --git a/arch/s390/kvm/kvm-s390.c b/arch/s390/kvm/kvm-s390.c index e513081..4f74511 100644 --- a/arch/s390/kvm/kvm-s390.c +++ b/arch/s390/kvm/kvm-s390.c @@ -217,7 +217,7 @@ static void allow_cpu_feat(unsigned long nr) static inline int plo_test_bit(unsigned char nr) { register unsigned long r0 asm("0") = (unsigned long) nr | 0x100; - int cc = 3; /* subfunction not available */ + int cc; asm volatile( /* Parameter registers are ignored for "test bit" */