diff mbox series

scsi: fnic: remove unneeded semicolon

Message ID 20200911091057.2938685-1-yanaijie@huawei.com (mailing list archive)
State Accepted
Headers show
Series scsi: fnic: remove unneeded semicolon | expand

Commit Message

Jason Yan Sept. 11, 2020, 9:10 a.m. UTC
This addresses the following coccinelle warning:

drivers/scsi/fnic/fnic_main.c:446:2-3: Unneeded semicolon

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Jason Yan <yanaijie@huawei.com>
---
 drivers/scsi/fnic/fnic_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Martin K. Petersen Sept. 15, 2020, 9:35 p.m. UTC | #1
Jason,

> This addresses the following coccinelle warning:
>
> drivers/scsi/fnic/fnic_main.c:446:2-3: Unneeded semicolon

Applied to 5.10/scsi-staging, thanks!
Martin K. Petersen Sept. 22, 2020, 3:56 a.m. UTC | #2
On Fri, 11 Sep 2020 17:10:57 +0800, Jason Yan wrote:

> This addresses the following coccinelle warning:
> 
> drivers/scsi/fnic/fnic_main.c:446:2-3: Unneeded semicolon

Applied to 5.10/scsi-queue, thanks!

[1/1] scsi: fnic: Remove unneeded semicolon
      https://git.kernel.org/mkp/scsi/c/bff8b14b0974
diff mbox series

Patch

diff --git a/drivers/scsi/fnic/fnic_main.c b/drivers/scsi/fnic/fnic_main.c
index 8258348857e2..5f8a7ef8f6a8 100644
--- a/drivers/scsi/fnic/fnic_main.c
+++ b/drivers/scsi/fnic/fnic_main.c
@@ -443,7 +443,7 @@  static void fnic_notify_timer_start(struct fnic *fnic)
 	default:
 		/* Using intr for notification for INTx/MSI-X */
 		break;
-	};
+	}
 }
 
 static int fnic_dev_wait(struct vnic_dev *vdev,