diff mbox series

scsi: bfa: remove unneeded semicolon in bfa_fcs_lport_ns_sm_online()

Message ID 20200418070553.11262-1-yanaijie@huawei.com (mailing list archive)
State Mainlined
Commit f166021c0f51ffdb1661330ef8c8a5bb273560b8
Headers show
Series scsi: bfa: remove unneeded semicolon in bfa_fcs_lport_ns_sm_online() | expand

Commit Message

Jason Yan April 18, 2020, 7:05 a.m. UTC
Fix the following coccicheck warning:

drivers/scsi/bfa/bfa_fcs_lport.c:4361:3-4: Unneeded semicolon

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

Comments

Martin K. Petersen April 27, 2020, 8:21 p.m. UTC | #1
On Sat, 18 Apr 2020 15:05:53 +0800, Jason Yan wrote:

> Fix the following coccicheck warning:
> 
> drivers/scsi/bfa/bfa_fcs_lport.c:4361:3-4: Unneeded semicolon

Applied to 5.8/scsi-queue, thanks!

[1/1] scsi: bfa: Remove unneeded semicolon in bfa_fcs_lport_ns_sm_online()
      https://git.kernel.org/mkp/scsi/c/f166021c0f51
diff mbox series

Patch

diff --git a/drivers/scsi/bfa/bfa_fcs_lport.c b/drivers/scsi/bfa/bfa_fcs_lport.c
index e09bf0729deb..297a77f5806c 100644
--- a/drivers/scsi/bfa/bfa_fcs_lport.c
+++ b/drivers/scsi/bfa/bfa_fcs_lport.c
@@ -4358,7 +4358,7 @@  bfa_fcs_lport_ns_sm_online(struct bfa_fcs_lport_ns_s *ns,
 			bfa_sm_set_state(ns,
 				bfa_fcs_lport_ns_sm_sending_gid_ft);
 			bfa_fcs_lport_ns_send_gid_ft(ns, NULL);
-		};
+		}
 		break;
 
 	default: