2020-04-21 03:43:02

by Jason Yan

[permalink] [raw]
Subject: [PATCH] scsi: sgiwd93: remove unneeded semicolon in sgiwd93.c

Fix the following coccicheck warning:

drivers/scsi/sgiwd93.c:190:2-3: Unneeded semicolon

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

diff --git a/drivers/scsi/sgiwd93.c b/drivers/scsi/sgiwd93.c
index 713bce998b0e..3bdf0deb8f15 100644
--- a/drivers/scsi/sgiwd93.c
+++ b/drivers/scsi/sgiwd93.c
@@ -187,7 +187,7 @@ static inline void init_hpc_chain(struct ip22_hostdata *hdata)
hcp++;
dma += sizeof(struct hpc_chunk);
start += sizeof(struct hpc_chunk);
- };
+ }
hcp--;
hcp->desc.pnext = hdata->dma;
}
--
2.21.1


2020-04-27 20:24:29

by Martin K. Petersen

[permalink] [raw]
Subject: Re: [PATCH] scsi: sgiwd93: remove unneeded semicolon in sgiwd93.c

On Tue, 21 Apr 2020 11:40:29 +0800, Jason Yan wrote:

> Fix the following coccicheck warning:
>
> drivers/scsi/sgiwd93.c:190:2-3: Unneeded semicolon

Applied to 5.8/scsi-queue, thanks!

[1/1] scsi: sgiwd93: Remove unneeded semicolon in sgiwd93.c
https://git.kernel.org/mkp/scsi/c/f371d5345377

--
Martin K. Petersen Oracle Linux Engineering