aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/bfa/bfa_iocfc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/bfa/bfa_iocfc.c')
-rw-r--r--drivers/scsi/bfa/bfa_iocfc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/scsi/bfa/bfa_iocfc.c b/drivers/scsi/bfa/bfa_iocfc.c
index 12350b022d6..d7ab792a9e5 100644
--- a/drivers/scsi/bfa/bfa_iocfc.c
+++ b/drivers/scsi/bfa/bfa_iocfc.c
@@ -794,7 +794,7 @@ bfa_iocfc_get_stats(struct bfa_s *bfa, struct bfa_iocfc_stats_s *stats,
794 794
795 if (iocfc->stats_busy) { 795 if (iocfc->stats_busy) {
796 bfa_trc(bfa, iocfc->stats_busy); 796 bfa_trc(bfa, iocfc->stats_busy);
797 return (BFA_STATUS_DEVBUSY); 797 return BFA_STATUS_DEVBUSY;
798 } 798 }
799 799
800 iocfc->stats_busy = BFA_TRUE; 800 iocfc->stats_busy = BFA_TRUE;
@@ -804,7 +804,7 @@ bfa_iocfc_get_stats(struct bfa_s *bfa, struct bfa_iocfc_stats_s *stats,
804 804
805 bfa_iocfc_stats_query(bfa); 805 bfa_iocfc_stats_query(bfa);
806 806
807 return (BFA_STATUS_OK); 807 return BFA_STATUS_OK;
808} 808}
809 809
810bfa_status_t 810bfa_status_t
@@ -814,7 +814,7 @@ bfa_iocfc_clear_stats(struct bfa_s *bfa, bfa_cb_ioc_t cbfn, void *cbarg)
814 814
815 if (iocfc->stats_busy) { 815 if (iocfc->stats_busy) {
816 bfa_trc(bfa, iocfc->stats_busy); 816 bfa_trc(bfa, iocfc->stats_busy);
817 return (BFA_STATUS_DEVBUSY); 817 return BFA_STATUS_DEVBUSY;
818 } 818 }
819 819
820 iocfc->stats_busy = BFA_TRUE; 820 iocfc->stats_busy = BFA_TRUE;
@@ -822,7 +822,7 @@ bfa_iocfc_clear_stats(struct bfa_s *bfa, bfa_cb_ioc_t cbfn, void *cbarg)
822 iocfc->stats_cbarg = cbarg; 822 iocfc->stats_cbarg = cbarg;
823 823
824 bfa_iocfc_stats_clear(bfa); 824 bfa_iocfc_stats_clear(bfa);
825 return (BFA_STATUS_OK); 825 return BFA_STATUS_OK;
826} 826}
827 827
828/** 828/**