diff options
author | Jing Huang <huangj@brocade.com> | 2010-12-27 06:48:53 +0100 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-12-31 16:38:53 +0100 |
commit | 2f2f40a45845e52fbbe07bcd3e09ccff44feb01b (patch) | |
tree | 687e69e250d3e501c31a972d3498e35ed1e2c644 /drivers/scsi/bfa/bfa_svc.c | |
parent | [SCSI] bfa: replace bfa_assert with WARN_ON (diff) | |
download | linux-2f2f40a45845e52fbbe07bcd3e09ccff44feb01b.tar.xz linux-2f2f40a45845e52fbbe07bcd3e09ccff44feb01b.zip |
[SCSI] bfa: remove inactive functions
This patch removes some inactive functions and macros.
Signed-off-by: Jing Huang <huangj@brocade.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
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) struct bfa_sgpg_s *hsgpg; int i; - bfa_trc_fp(bfa, nsgpgs); - if (mod->free_sgpgs < nsgpgs) return BFA_STATUS_ENOMEM; @@ -4691,8 +4689,6 @@ bfa_sgpg_mfree(struct bfa_s *bfa, struct list_head *sgpg_q, int nsgpg) struct bfa_sgpg_mod_s *mod = BFA_SGPG_MOD(bfa); struct bfa_sgpg_wqe_s *wqe; - bfa_trc_fp(bfa, nsgpg); - mod->free_sgpgs += nsgpg; WARN_ON(mod->free_sgpgs > mod->num_sgpgs); |