Skip to contentSkip to conversation

scsi: Delete extra blank line

PATCH In review Ye Bin 2 participants 2 messages Jan 22, 2020 – Jan 23, 2020 SCSI

lore
Share & tools
lore

Ye Bin

author
#0 lore raw

PATCH 1/1 scsi: Delete extra blank line

---
 drivers/scsi/scsi_lib.c | 1 -
 1 file changed, 1 deletion(-)
drivers/scsi/scsi_lib.c +0 -1
index 610ee41fa54c..56bd2c13a1fb 100644
@@ -1547,7 +1547,6 @@ static int scsi_dispatch_cmd(struct scsi_cmnd *cmd)
 	if (unlikely(host->shost_state == SHOST_DEL)) {
 		cmd->result = (DID_NO_CONNECT << 16);
 		goto done;
-
 	}
 
 	trace_scsi_dispatch_cmd_start(cmd);
Signature · 1 line
2.17.2
#1 lore raw
Quoted 10 lines · Ye Bin
---
 drivers/scsi/scsi_lib.c | 1 -
 1 file changed, 1 deletion(-)
drivers/scsi/scsi_lib.c +0 -0
index 610ee41fa54c..56bd2c13a1fb 100644

drivers/scsi/scsi_lib.c static int scsi_dispatch_cmd(struct scsi_cmnd *cmd) · line 1552

Quoted 7 lines
drivers/scsi/scsi_lib.c +0 -1
@@ -1547,7 +1547,6 @@ static int scsi_dispatch_cmd(struct scsi_cmnd *cmd)
 	if (unlikely(host->shost_state == SHOST_DEL)) {
 		cmd->result = (DID_NO_CONNECT << 16);
 		goto done;
-
 	}
 
 	trace_scsi_dispatch_cmd_start(cmd);

Although this patch looks fine to me, I'm not sure how useful it is to delete such extraneous blank lines...

Bart.