* [PATCH] scsi: Delete extra blank line
@ 2020-01-22 9:27 Ye Bin
2020-01-23 2:43 ` Bart Van Assche
0 siblings, 1 reply; 2+ messages in thread
From: Ye Bin @ 2020-01-22 9:27 UTC (permalink / raw)
To: jejb, martin.petersen; +Cc: linux-scsi, Ye Bin
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);
--
2.17.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] scsi: Delete extra blank line
2020-01-22 9:27 [PATCH] scsi: Delete extra blank line Ye Bin
@ 2020-01-23 2:43 ` Bart Van Assche
0 siblings, 0 replies; 2+ messages in thread
From: Bart Van Assche @ 2020-01-23 2:43 UTC (permalink / raw)
To: Ye Bin, jejb, martin.petersen; +Cc: linux-scsi
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-01-23 2:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-22 9:27 [PATCH] scsi: Delete extra blank line Ye Bin
2020-01-23 2:43 ` Bart Van Assche
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).