diff mbox series

scsi: bfa: remove unneeded semicolon in bfa_fcs_rport.c

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

Commit Message

Jason Yan April 21, 2020, 3:39 a.m. UTC
Fix the following coccicheck warning:

drivers/scsi/bfa/bfa_fcs_rport.c:2452:2-3: Unneeded semicolon
drivers/scsi/bfa/bfa_fcs_rport.c:1578:3-4: Unneeded semicolon

Signed-off-by: Jason Yan <yanaijie@huawei.com>
---
 drivers/scsi/bfa/bfa_fcs_rport.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Martin K. Petersen April 27, 2020, 8:21 p.m. UTC | #1
On Tue, 21 Apr 2020 11:39:57 +0800, Jason Yan wrote:

> Fix the following coccicheck warning:
> 
> drivers/scsi/bfa/bfa_fcs_rport.c:2452:2-3: Unneeded semicolon
> drivers/scsi/bfa/bfa_fcs_rport.c:1578:3-4: Unneeded semicolon

Applied to 5.8/scsi-queue, thanks!

[1/1] scsi: bfa: Remove unneeded semicolon in bfa_fcs_rport.c
      https://git.kernel.org/mkp/scsi/c/f71ded01cc3f
diff mbox series

Patch

diff --git a/drivers/scsi/bfa/bfa_fcs_rport.c b/drivers/scsi/bfa/bfa_fcs_rport.c
index 82801b366500..fc294e1950a6 100644
--- a/drivers/scsi/bfa/bfa_fcs_rport.c
+++ b/drivers/scsi/bfa/bfa_fcs_rport.c
@@ -1575,7 +1575,7 @@  bfa_fcs_rport_sm_nsdisc_sent(struct bfa_fcs_rport_s *rport,
 			bfa_timer_start(rport->fcs->bfa, &rport->timer,
 					bfa_fcs_rport_timeout, rport,
 					bfa_fcs_rport_del_timeout);
-		};
+		}
 		break;
 
 	case RPSM_EVENT_DELETE:
@@ -2449,7 +2449,7 @@  bfa_fcs_rport_hal_online_action(struct bfa_fcs_rport_s *rport)
 		bfa_fcs_itnim_brp_online(rport->itnim);
 		if (!BFA_FCS_PID_IS_WKA(rport->pid))
 			bfa_fcs_rpf_rport_online(rport);
-	};
+	}
 
 	wwn2str(lpwwn_buf, bfa_fcs_lport_get_pwwn(port));
 	wwn2str(rpwwn_buf, rport->pwwn);