Commit 037773f3 authored by Jason Yan's avatar Jason Yan Committed by Martin K. Petersen

scsi: bfa: bfa_svc.c: make two functions static

Fix the following sparse warning:

drivers/scsi/bfa/bfa_svc.c:4288:1: warning: symbol
'bfa_fcport_ddportenable' was not declared. Should it be static?
drivers/scsi/bfa/bfa_svc.c:4297:1: warning: symbol
'bfa_fcport_ddportdisable' was not declared. Should it be static?

Link: https://lore.kernel.org/r/20200407032202.36789-2-yanaijie@huawei.comReported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarJason Yan <yanaijie@huawei.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 78e8df28
...@@ -4284,7 +4284,7 @@ bfa_fcport_dportdisable(struct bfa_s *bfa) ...@@ -4284,7 +4284,7 @@ bfa_fcport_dportdisable(struct bfa_s *bfa)
bfa_port_set_dportenabled(&bfa->modules.port, BFA_FALSE); bfa_port_set_dportenabled(&bfa->modules.port, BFA_FALSE);
} }
void static void
bfa_fcport_ddportenable(struct bfa_s *bfa) bfa_fcport_ddportenable(struct bfa_s *bfa)
{ {
/* /*
...@@ -4293,7 +4293,7 @@ bfa_fcport_ddportenable(struct bfa_s *bfa) ...@@ -4293,7 +4293,7 @@ bfa_fcport_ddportenable(struct bfa_s *bfa)
bfa_sm_send_event(BFA_FCPORT_MOD(bfa), BFA_FCPORT_SM_DDPORTENABLE); bfa_sm_send_event(BFA_FCPORT_MOD(bfa), BFA_FCPORT_SM_DDPORTENABLE);
} }
void static void
bfa_fcport_ddportdisable(struct bfa_s *bfa) bfa_fcport_ddportdisable(struct bfa_s *bfa)
{ {
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment