diff options
Diffstat (limited to 'drivers/scsi/bfa/bfa_svc.c')
-rw-r--r-- | drivers/scsi/bfa/bfa_svc.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/scsi/bfa/bfa_svc.c b/drivers/scsi/bfa/bfa_svc.c index d33e93a7a672..6577d0d922f6 100644 --- a/drivers/scsi/bfa/bfa_svc.c +++ b/drivers/scsi/bfa/bfa_svc.c | |||
@@ -4670,8 +4670,6 @@ bfa_sgpg_malloc(struct bfa_s *bfa, struct list_head *sgpg_q, int nsgpgs) | |||
4670 | struct bfa_sgpg_s *hsgpg; | 4670 | struct bfa_sgpg_s *hsgpg; |
4671 | int i; | 4671 | int i; |
4672 | 4672 | ||
4673 | bfa_trc_fp(bfa, nsgpgs); | ||
4674 | |||
4675 | if (mod->free_sgpgs < nsgpgs) | 4673 | if (mod->free_sgpgs < nsgpgs) |
4676 | return BFA_STATUS_ENOMEM; | 4674 | return BFA_STATUS_ENOMEM; |
4677 | 4675 | ||
@@ -4691,8 +4689,6 @@ bfa_sgpg_mfree(struct bfa_s *bfa, struct list_head *sgpg_q, int nsgpg) | |||
4691 | struct bfa_sgpg_mod_s *mod = BFA_SGPG_MOD(bfa); | 4689 | struct bfa_sgpg_mod_s *mod = BFA_SGPG_MOD(bfa); |
4692 | struct bfa_sgpg_wqe_s *wqe; | 4690 | struct bfa_sgpg_wqe_s *wqe; |
4693 | 4691 | ||
4694 | bfa_trc_fp(bfa, nsgpg); | ||
4695 | |||
4696 | mod->free_sgpgs += nsgpg; | 4692 | mod->free_sgpgs += nsgpg; |
4697 | WARN_ON(mod->free_sgpgs > mod->num_sgpgs); | 4693 | WARN_ON(mod->free_sgpgs > mod->num_sgpgs); |
4698 | 4694 | ||