diff options
author | Maggie Zhang <xmzhang@brocade.com> | 2010-12-09 22:07:46 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-12-21 13:24:50 -0500 |
commit | df0f1933eb5454a5c481311837076056557467ad (patch) | |
tree | 6eb376420c7fd6db38b0b6b045a3b6eda28d9281 /drivers/scsi/bfa/bfa.h | |
parent | 402c6eec1bd04581c04de758e4efddc020b78f91 (diff) |
[SCSI] bfa: remove unused and empty functions
Removed unused and empty functions.
Signed-off-by: Maggie Zhang <xmzhang@brocade.com>
Signed-off-by: Jing Huang <xmzhang@brocade.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/bfa/bfa.h')
-rw-r--r-- | drivers/scsi/bfa/bfa.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/scsi/bfa/bfa.h b/drivers/scsi/bfa/bfa.h index ff2bd07161f7..7ed13ce6d6aa 100644 --- a/drivers/scsi/bfa/bfa.h +++ b/drivers/scsi/bfa/bfa.h | |||
@@ -33,7 +33,6 @@ typedef void (*bfa_cb_cbfn_t) (void *cbarg, bfa_boolean_t complete); | |||
33 | * Interrupt message handlers | 33 | * Interrupt message handlers |
34 | */ | 34 | */ |
35 | void bfa_isr_unhandled(struct bfa_s *bfa, struct bfi_msg_s *m); | 35 | void bfa_isr_unhandled(struct bfa_s *bfa, struct bfi_msg_s *m); |
36 | void bfa_isr_bind(enum bfi_mclass mc, bfa_isr_func_t isr_func); | ||
37 | 36 | ||
38 | /* | 37 | /* |
39 | * Request and response queue related defines | 38 | * Request and response queue related defines |
@@ -397,8 +396,6 @@ void bfa_cb_init(void *bfad, bfa_status_t status); | |||
397 | void bfa_cb_updateq(void *bfad, bfa_status_t status); | 396 | void bfa_cb_updateq(void *bfad, bfa_status_t status); |
398 | 397 | ||
399 | bfa_boolean_t bfa_intx(struct bfa_s *bfa); | 398 | bfa_boolean_t bfa_intx(struct bfa_s *bfa); |
400 | void bfa_intx_disable(struct bfa_s *bfa); | ||
401 | void bfa_intx_enable(struct bfa_s *bfa); | ||
402 | void bfa_isr_enable(struct bfa_s *bfa); | 399 | void bfa_isr_enable(struct bfa_s *bfa); |
403 | void bfa_isr_disable(struct bfa_s *bfa); | 400 | void bfa_isr_disable(struct bfa_s *bfa); |
404 | 401 | ||
@@ -410,16 +407,12 @@ typedef void (*bfa_cb_ioc_t) (void *cbarg, enum bfa_status status); | |||
410 | void bfa_iocfc_get_attr(struct bfa_s *bfa, struct bfa_iocfc_attr_s *attr); | 407 | void bfa_iocfc_get_attr(struct bfa_s *bfa, struct bfa_iocfc_attr_s *attr); |
411 | void bfa_get_attr(struct bfa_s *bfa, struct bfa_ioc_attr_s *ioc_attr); | 408 | void bfa_get_attr(struct bfa_s *bfa, struct bfa_ioc_attr_s *ioc_attr); |
412 | 409 | ||
413 | void bfa_adapter_get_attr(struct bfa_s *bfa, | ||
414 | struct bfa_adapter_attr_s *ad_attr); | ||
415 | u64 bfa_adapter_get_id(struct bfa_s *bfa); | ||
416 | 410 | ||
417 | bfa_status_t bfa_iocfc_israttr_set(struct bfa_s *bfa, | 411 | bfa_status_t bfa_iocfc_israttr_set(struct bfa_s *bfa, |
418 | struct bfa_iocfc_intr_attr_s *attr); | 412 | struct bfa_iocfc_intr_attr_s *attr); |
419 | 413 | ||
420 | void bfa_iocfc_enable(struct bfa_s *bfa); | 414 | void bfa_iocfc_enable(struct bfa_s *bfa); |
421 | void bfa_iocfc_disable(struct bfa_s *bfa); | 415 | void bfa_iocfc_disable(struct bfa_s *bfa); |
422 | void bfa_chip_reset(struct bfa_s *bfa); | ||
423 | void bfa_timer_tick(struct bfa_s *bfa); | 416 | void bfa_timer_tick(struct bfa_s *bfa); |
424 | #define bfa_timer_start(_bfa, _timer, _timercb, _arg, _timeout) \ | 417 | #define bfa_timer_start(_bfa, _timer, _timercb, _arg, _timeout) \ |
425 | bfa_timer_begin(&(_bfa)->timer_mod, _timer, _timercb, _arg, _timeout) | 418 | bfa_timer_begin(&(_bfa)->timer_mod, _timer, _timercb, _arg, _timeout) |
@@ -431,8 +424,5 @@ bfa_status_t bfa_debug_fwtrc(struct bfa_s *bfa, void *trcdata, int *trclen); | |||
431 | bfa_status_t bfa_debug_fwsave(struct bfa_s *bfa, void *trcdata, int *trclen); | 424 | bfa_status_t bfa_debug_fwsave(struct bfa_s *bfa, void *trcdata, int *trclen); |
432 | bfa_status_t bfa_debug_fwcore(struct bfa_s *bfa, void *buf, | 425 | bfa_status_t bfa_debug_fwcore(struct bfa_s *bfa, void *buf, |
433 | u32 *offset, int *buflen); | 426 | u32 *offset, int *buflen); |
434 | void bfa_debug_fwsave_clear(struct bfa_s *bfa); | ||
435 | bfa_status_t bfa_fw_stats_get(struct bfa_s *bfa, void *data); | ||
436 | bfa_status_t bfa_fw_stats_clear(struct bfa_s *bfa); | ||
437 | 427 | ||
438 | #endif /* __BFA_H__ */ | 428 | #endif /* __BFA_H__ */ |