diff options
author | Jing Huang <huangj@brocade.com> | 2010-12-26 21:48:53 -0800 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-12-31 09:38:53 -0600 |
commit | 2f2f40a45845e52fbbe07bcd3e09ccff44feb01b (patch) | |
tree | 687e69e250d3e501c31a972d3498e35ed1e2c644 /drivers/scsi/bfa/bfa_svc.c | |
parent | d4b671c58ebeb56dfc8fe8bcca25e0a06bc9359a (diff) |
[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 d33e93a7a67..6577d0d922f 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); |