]> git.karo-electronics.de Git - linux-beck.git/commitdiff
s390: remove unneeded semicolon
authorPeter Senna Tschudin <peter.senna@gmail.com>
Tue, 4 Aug 2015 15:11:15 +0000 (17:11 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 7 Aug 2015 07:57:00 +0000 (09:57 +0200)
Remove unneeded semicolon.

The semantic patch that detects this change is available
at scripts/coccinelle/misc/semicolon.cocci.

Signed-off-by: Peter Senna Tschudin <peter.senna@gmail.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/block/dasd_alias.c
drivers/s390/char/monreader.c
drivers/s390/scsi/zfcp_fsf.c

index ee3a6faae22a0b07a8eb8c40684e9d36c825bcfe..fe07f3139bf6fce1400ca38dba91d48064cb98bf 100644 (file)
@@ -58,7 +58,7 @@ static struct alias_server *_find_server(struct dasd_uid *uid)
                    && !strncmp(pos->uid.serial, uid->serial,
                                sizeof(uid->serial)))
                        return pos;
-       };
+       }
        return NULL;
 }
 
@@ -69,7 +69,7 @@ static struct alias_lcu *_find_lcu(struct alias_server *server,
        list_for_each_entry(pos, &server->lculist, lcu) {
                if (pos->uid.ssid == uid->ssid)
                        return pos;
-       };
+       }
        return NULL;
 }
 
@@ -97,7 +97,7 @@ static struct alias_pav_group *_find_group(struct alias_lcu *lcu,
                if (pos->uid.base_unit_addr == search_unit_addr &&
                    !strncmp(pos->uid.vduit, uid->vduit, sizeof(uid->vduit)))
                        return pos;
-       };
+       }
        return NULL;
 }
 
index 0da3ae3cd63b3ae549e770f387a90237a594163a..b7d60306b0bcf185c683d5e29312738283c37a98 100644 (file)
@@ -95,7 +95,7 @@ static void dcss_mkname(char *ascii_name, char *ebcdic_name)
                if (ascii_name[i] == '\0')
                        break;
                ebcdic_name[i] = toupper(ascii_name[i]);
-       };
+       }
        for (; i < 8; i++)
                ebcdic_name[i] = ' ';
        ASCEBC(ebcdic_name, 8);
index 21ec5e2f584ce44851560394870cf9b56163a3b1..4ac73e047c114bb3d27aa5fab7ca939297fb4c43 100644 (file)
@@ -204,7 +204,7 @@ static void zfcp_fsf_status_read_link_down(struct zfcp_fsf_req *req)
                break;
        case FSF_STATUS_READ_SUB_FIRMWARE_UPDATE:
                zfcp_fsf_link_down_info_eval(req, NULL);
-       };
+       }
 }
 
 static void zfcp_fsf_status_read_handler(struct zfcp_fsf_req *req)