aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/bfa/bfa_ioc_ct.c
diff options
context:
space:
mode:
authorJing Huang <huangj@brocade.com>2010-12-27 00:50:10 -0500
committerJames Bottomley <James.Bottomley@suse.de>2010-12-31 10:43:31 -0500
commit8f4bfadd200477acb6dcf41a45919dd37d01a6db (patch)
treeec25c381eb99246efbc4fb0911529b229323df0f /drivers/scsi/bfa/bfa_ioc_ct.c
parent2f2f40a45845e52fbbe07bcd3e09ccff44feb01b (diff)
[SCSI] bfa: remove unused defintions and misc cleanups
This patch removes unused functions, data strucutres, and definitions. It also includes misc comment and formatting cleanups. Signed-off-by: Jing Huang <huangj@brocade.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/bfa/bfa_ioc_ct.c')
-rw-r--r--drivers/scsi/bfa/bfa_ioc_ct.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/bfa/bfa_ioc_ct.c b/drivers/scsi/bfa/bfa_ioc_ct.c
index ccfecfca074..008d129ddfc 100644
--- a/drivers/scsi/bfa/bfa_ioc_ct.c
+++ b/drivers/scsi/bfa/bfa_ioc_ct.c
@@ -351,7 +351,7 @@ bfa_ioc_ct_ownership_reset(struct bfa_ioc_s *ioc)
351 writel(1, ioc->ioc_regs.ioc_sem_reg); 351 writel(1, ioc->ioc_regs.ioc_sem_reg);
352} 352}
353 353
354/** 354/*
355 * Synchronized IOC failure processing routines 355 * Synchronized IOC failure processing routines
356 */ 356 */
357static void 357static void
@@ -393,7 +393,7 @@ bfa_ioc_ct_sync_complete(struct bfa_ioc_s *ioc)
393 if (sync_ackd == 0) 393 if (sync_ackd == 0)
394 return BFA_TRUE; 394 return BFA_TRUE;
395 395
396 /** 396 /*
397 * The check below is to see whether any other PCI fn 397 * The check below is to see whether any other PCI fn
398 * has reinitialized the ASIC (reset sync_ackd bits) 398 * has reinitialized the ASIC (reset sync_ackd bits)
399 * and failed again while this IOC was waiting for hw 399 * and failed again while this IOC was waiting for hw
@@ -412,7 +412,7 @@ bfa_ioc_ct_sync_complete(struct bfa_ioc_s *ioc)
412 return BFA_TRUE; 412 return BFA_TRUE;
413 } 413 }
414 414
415 /** 415 /*
416 * If another PCI fn reinitialized and failed again while 416 * If another PCI fn reinitialized and failed again while
417 * this IOC was waiting for hw sem, the sync_ackd bit for 417 * this IOC was waiting for hw sem, the sync_ackd bit for
418 * this IOC need to be set again to allow reinitialization. 418 * this IOC need to be set again to allow reinitialization.