Message ID | 20200911091031.2937834-1-yanaijie@huawei.com |
---|---|
State | New |
Headers | show |
Series | scsi: sym53c8xx_2: remove unneeded semicolon | expand |
Jason, > This addresses the following coccinelle warning: > > drivers/scsi/sym53c8xx_2/sym_fw.c:372:3-4: Unneeded semicolon > drivers/scsi/sym53c8xx_2/sym_fw.c:480:3-4: Unneeded semicolon > drivers/scsi/sym53c8xx_2/sym_fw.c:536:2-3: Unneeded semicolon Applied to 5.10/scsi-staging, thanks!
On Fri, 11 Sep 2020 17:10:31 +0800, Jason Yan wrote: > This addresses the following coccinelle warning: > > drivers/scsi/sym53c8xx_2/sym_fw.c:372:3-4: Unneeded semicolon > drivers/scsi/sym53c8xx_2/sym_fw.c:480:3-4: Unneeded semicolon > drivers/scsi/sym53c8xx_2/sym_fw.c:536:2-3: Unneeded semicolon Applied to 5.10/scsi-queue, thanks! [1/1] scsi: sym53c8xx_2: Remove unneeded semicolon https://git.kernel.org/mkp/scsi/c/8d4089cdc313 -- Martin K. Petersen Oracle Linux Engineering
diff --git a/drivers/scsi/sym53c8xx_2/sym_fw.c b/drivers/scsi/sym53c8xx_2/sym_fw.c index c6db61b61de3..c536d2a9a657 100644 --- a/drivers/scsi/sym53c8xx_2/sym_fw.c +++ b/drivers/scsi/sym53c8xx_2/sym_fw.c @@ -369,7 +369,7 @@ void sym_fw_bind_script(struct sym_hcb *np, u32 *start, int len) sym_name(np), (int) (cur-start)); ++cur; continue; - }; + } /* * We use the bogus value 0xf00ff00f ;-) @@ -477,7 +477,7 @@ void sym_fw_bind_script(struct sym_hcb *np, u32 *start, int len) default: relocs = 0; break; - }; + } /* * Scriptify:) the opcode. @@ -533,5 +533,5 @@ void sym_fw_bind_script(struct sym_hcb *np, u32 *start, int len) *cur++ = cpu_to_scr(new); } - }; + } }
This addresses the following coccinelle warning: drivers/scsi/sym53c8xx_2/sym_fw.c:372:3-4: Unneeded semicolon drivers/scsi/sym53c8xx_2/sym_fw.c:480:3-4: Unneeded semicolon drivers/scsi/sym53c8xx_2/sym_fw.c:536:2-3: Unneeded semicolon Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Jason Yan <yanaijie@huawei.com> --- drivers/scsi/sym53c8xx_2/sym_fw.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)