Skip to contentSkip to conversation

s390: Remove unneeded semicolon

PATCH Applied Peter Senna Tschudin 2 participants 2 messages Aug 4, 2015 – Aug 5, 2015

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 s390: Remove unneeded semicolon

Remove unneeded semicolon.

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

---
Tested by cross compilation only.

 drivers/s390/block/dasd_alias.c | 6 +++---
 drivers/s390/char/monreader.c   | 2 +-
 drivers/s390/scsi/zfcp_fsf.c    | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)
drivers/s390/block/dasd_alias.c +3 -3
index a2597e6..19805a72 100644
@@ -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;
 }
 
drivers/s390/char/monreader.c +1 -1
index 0da3ae3..b7d6030 100644
@@ -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);
drivers/s390/scsi/zfcp_fsf.c +1 -1
index 21ec5e2..4ac73e0 100644
@@ -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)
Signature · 1 line
2.1.0
#1 lore raw
Quoted 5 lines · Peter Senna Tschudin

Remove unneeded semicolon.

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

Quoted 8 lines

---
Tested by cross compilation only.

 drivers/s390/block/dasd_alias.c | 6 +++---
 drivers/s390/char/monreader.c   | 2 +-
 drivers/s390/scsi/zfcp_fsf.c    | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

Applied, thanks.