Skip to contentSkip to conversation

ide: remove unneeded semicolon

PATCH New Yang Li 1 participant 1 message Feb 3, 2021 libata

lore
Share & tools
lore

Yang Li

author
#0 lore raw

PATCH 1/1 ide: remove unneeded semicolon

Eliminate the following coccicheck warning:
./drivers/ide/ide-taskfile.c:167:2-3: Unneeded semicolon

---
 drivers/ide/ide-taskfile.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/ide/ide-taskfile.c +1 -1
index d016cbe..60d8fa1 100644
@@ -164,7 +164,7 @@ static ide_startstop_t task_no_data_intr(ide_drive_t *drive)
 		if ((stat & ATA_BUSY) == 0 || retries-- == 0)
 			break;
 		udelay(10);
-	};
+	}
 
 	if (!OK_STAT(stat, ATA_DRDY, BAD_STAT)) {
 		if (custom && tf->command == ATA_CMD_SET_MULTI) {
Signature · 1 line
1.8.3.1