diff mbox series

scsi: Delete extra blank line

Message ID 20200122092740.27169-1-yebin10@huawei.com (mailing list archive)
State Changes Requested
Headers show
Series scsi: Delete extra blank line | expand

Commit Message

yebin (H) Jan. 22, 2020, 9:27 a.m. UTC
Signed-off-by: Ye Bin <yebin10@huawei.com>
---
 drivers/scsi/scsi_lib.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Bart Van Assche Jan. 23, 2020, 2:43 a.m. UTC | #1
On 2020-01-22 01:27, Ye Bin wrote:
> Signed-off-by: Ye Bin <yebin10@huawei.com>
> ---
>  drivers/scsi/scsi_lib.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c
> index 610ee41fa54c..56bd2c13a1fb 100644
> --- a/drivers/scsi/scsi_lib.c
> +++ b/drivers/scsi/scsi_lib.c
> @@ -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.
diff mbox series

Patch

diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c
index 610ee41fa54c..56bd2c13a1fb 100644
--- a/drivers/scsi/scsi_lib.c
+++ b/drivers/scsi/scsi_lib.c
@@ -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);