s390: remove couple of unneeded semicolons
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 2 Jan 2017 07:51:02 +0000 (08:51 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 16 Jan 2017 06:27:54 +0000 (07:27 +0100)
Remove a couple of unneeded semicolons. This is just to reduce the
noise that the coccinelle static code checker generates.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/uaccess.h
arch/s390/kernel/perf_cpum_cf_events.c
arch/s390/kvm/priv.c
arch/s390/kvm/vsie.c
arch/s390/mm/extmem.c

index f82b04e85a210fa9bfda37a917c172141a9eca4e..3d1d0f7b7d2896428764925dd762b50e08e8938b 100644 (file)
@@ -177,7 +177,7 @@ static inline int __put_user_fn(void *x, void __user *ptr, unsigned long size)
                                        (unsigned long *)x,
                                        size, spec);
                break;
-       };
+       }
        return rc;
 }
 
@@ -207,7 +207,7 @@ static inline int __get_user_fn(void *x, const void __user *ptr, unsigned long s
                                        (unsigned long __user *)ptr,
                                        size, spec);
                break;
-       };
+       }
        return rc;
 }
 
index 4554a4bae39e5d5252f1d89aa80974668967850e..c343ac2cf6c55f7c1aaabacb318fc4086205b15b 100644 (file)
@@ -309,7 +309,7 @@ __init const struct attribute_group **cpumf_cf_event_group(void)
        default:
                model = NULL;
                break;
-       };
+       }
 
        if (!model)
                goto out;
index e18435355c16f454fdee19e155af08493abe1d44..794503516bd44bb703139ccdd8e59108396c3bda 100644 (file)
@@ -311,7 +311,7 @@ static int handle_sske(struct kvm_vcpu *vcpu)
                if (rc < 0)
                        return kvm_s390_inject_program_int(vcpu, PGM_ADDRESSING);
                start += PAGE_SIZE;
-       };
+       }
 
        if (m3 & (SSKE_MC | SSKE_MR)) {
                if (m3 & SSKE_MB) {
index d8673e243f13bf7315e36203890401cae191cea2..a9a9d974d9a4284ee5dd809463f62d0afea166e0 100644 (file)
@@ -899,7 +899,7 @@ static int vsie_run(struct kvm_vcpu *vcpu, struct vsie_page *vsie_page)
                if (rc || scb_s->icptcode || signal_pending(current) ||
                    kvm_s390_vcpu_has_irq(vcpu, 0))
                        break;
-       };
+       }
 
        if (rc == -EFAULT) {
                /*
index 362237203144d146c0dfa7379bf76ecba6fc51d7..91af69f1dce57677c4b200417f3fb17e50d4cf2f 100644 (file)
@@ -154,7 +154,7 @@ dcss_mkname(char *name, char *dcss_name)
                if (name[i] == '\0')
                        break;
                dcss_name[i] = toupper(name[i]);
-       };
+       }
        for (; i < 8; i++)
                dcss_name[i] = ' ';
        ASCEBC(dcss_name, 8);