2020-04-18 06:42:42

by Jason Yan

[permalink] [raw]
Subject: [PATCH] scsi: bfa: remove unneeded semicolon in bfa_fcs_lport_ns_sm_online()

Fix the following coccicheck warning:

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

Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Jason Yan <[email protected]>
---
drivers/scsi/bfa/bfa_fcs_lport.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

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:
--
2.21.1


2020-04-27 20:24:14

by Martin K. Petersen

[permalink] [raw]
Subject: Re: [PATCH] scsi: bfa: remove unneeded semicolon in bfa_fcs_lport_ns_sm_online()

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

--
Martin K. Petersen Oracle Linux Engineering