Message ID | 20220401030640.28246-1-jiapeng.chong@linux.alibaba.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Series | scsi: pmcraid: Remove unneeded semicolon | expand |
Jiapeng, > Fix the following coccicheck warnings: > > ./drivers/scsi/pmcraid.c:4593:2-3: Unneeded semicolon. Applied to 5.19/scsi-staging, thanks!
On Fri, 1 Apr 2022 11:06:40 +0800, Jiapeng Chong wrote: > Fix the following coccicheck warnings: > > ./drivers/scsi/pmcraid.c:4593:2-3: Unneeded semicolon. > > Applied to 5.19/scsi-queue, thanks! [1/1] scsi: pmcraid: Remove unneeded semicolon https://git.kernel.org/mkp/scsi/c/21a023ce397b
diff --git a/drivers/scsi/pmcraid.c b/drivers/scsi/pmcraid.c index fd674ed1febe..3d5cd337a2a6 100644 --- a/drivers/scsi/pmcraid.c +++ b/drivers/scsi/pmcraid.c @@ -4590,7 +4590,7 @@ static int pmcraid_init_instance(struct pci_dev *pdev, struct Scsi_Host *host, mapped_pci_addr + chip_cfg->ioa_host_mask_clr; pint_regs->global_interrupt_mask_reg = mapped_pci_addr + chip_cfg->global_intr_mask; - }; + } pinstance->ioa_reset_attempts = 0; init_waitqueue_head(&pinstance->reset_wait_q);
Fix the following coccicheck warnings: ./drivers/scsi/pmcraid.c:4593:2-3: Unneeded semicolon. Reported-by: Abaci Robot <abaci@linux.alibaba.com> Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com> --- drivers/scsi/pmcraid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)