* [PATCH] scsi: bfa: remove unneeded semicolon in bfa_fcs_rport.c
@ 2020-04-21 3:39 Jason Yan
2020-04-27 20:21 ` Martin K. Petersen
0 siblings, 1 reply; 2+ messages in thread
From: Jason Yan @ 2020-04-21 3:39 UTC (permalink / raw)
To: anil.gurumurthy, sudarsana.kalluru, jejb, martin.petersen, tglx,
linux-scsi, linux-kernel
Cc: Jason Yan
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(-)
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);
--
2.21.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] scsi: bfa: remove unneeded semicolon in bfa_fcs_rport.c
2020-04-21 3:39 [PATCH] scsi: bfa: remove unneeded semicolon in bfa_fcs_rport.c Jason Yan
@ 2020-04-27 20:21 ` Martin K. Petersen
0 siblings, 0 replies; 2+ messages in thread
From: Martin K. Petersen @ 2020-04-27 20:21 UTC (permalink / raw)
To: tglx, linux-kernel, jejb, anil.gurumurthy, linux-scsi,
sudarsana.kalluru, Jason Yan
Cc: Martin K . Petersen
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
--
Martin K. Petersen Oracle Linux Engineering
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-04-27 20:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-21 3:39 [PATCH] scsi: bfa: remove unneeded semicolon in bfa_fcs_rport.c Jason Yan
2020-04-27 20:21 ` Martin K. Petersen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).