scsi: sym53c8xx_2: Remove unneeded semicolon
authorJason Yan <yanaijie@huawei.com>
Fri, 11 Sep 2020 09:10:31 +0000 (17:10 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 15 Sep 2020 21:33:16 +0000 (17:33 -0400)
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

Link: https://lore.kernel.org/r/20200911091031.2937834-1-yanaijie@huawei.com
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Jason Yan <yanaijie@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/sym53c8xx_2/sym_fw.c

index 6d7651a..dc57403 100644 (file)
@@ -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);
                }
-       };
+       }
 }