2023-06-14 09:52:54

by baomingtong001

[permalink] [raw]
Subject: [PATCH] scsi: qlogicpti: Remove unneeded semicolon

./drivers/scsi/qlogicpti.c:1153:3-4: Unneeded semicolon

Signed-off-by: Mingtong Bao <[email protected]>
---
drivers/scsi/qlogicpti.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/scsi/qlogicpti.c b/drivers/scsi/qlogicpti.c
index 1e8fbd457248..52253b7da157 100644
--- a/drivers/scsi/qlogicpti.c
+++ b/drivers/scsi/qlogicpti.c
@@ -1150,7 +1150,7 @@ static struct scsi_cmnd
*qlogicpti_intr_handler(struct qlogicpti *qpti)
case COMMAND_ERROR:
case COMMAND_PARAM_ERROR:
break;
- };
+ }
sbus_writew(0, qpti->qregs + SBUS_SEMAPHORE);
}


2023-06-14 18:43:34

by Bart Van Assche

[permalink] [raw]
Subject: Re: [PATCH] scsi: qlogicpti: Remove unneeded semicolon

On 6/14/23 01:54, [email protected] wrote:
> ./drivers/scsi/qlogicpti.c:1153:3-4: Unneeded semicolon

That's a very short patch description. Although I'm not sure this patch
will be considered useful by anyone, please mention the name of the tool
that has been used to detect the unneeded semicolon in the patch
description.

Thanks,

Bart.