diff options
author | Maggie Zhang <xmzhang@brocade.com> | 2010-12-09 22:08:43 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-12-21 13:32:43 -0500 |
commit | f7f73812e95077c19a2801bbf4f483fcdab5232f (patch) | |
tree | 1683aef984bf23a83dc5764503a0972f64ddf5a5 /drivers/scsi/bfa/bfa.h | |
parent | df0f1933eb5454a5c481311837076056557467ad (diff) |
[SCSI] bfa: clean up one line functions
Cleaned up one line functions.
Signed-off-by: Maggie Zhang <xmzhang@brocade.com>
Signed-off-by: Jing Huang <huangj@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 | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/drivers/scsi/bfa/bfa.h b/drivers/scsi/bfa/bfa.h index 7ed13ce6d6aa..6231e5aa55b3 100644 --- a/drivers/scsi/bfa/bfa.h +++ b/drivers/scsi/bfa/bfa.h | |||
@@ -296,7 +296,6 @@ void bfa_iocfc_attach(struct bfa_s *bfa, void *bfad, | |||
296 | struct bfa_iocfc_cfg_s *cfg, | 296 | struct bfa_iocfc_cfg_s *cfg, |
297 | struct bfa_meminfo_s *meminfo, | 297 | struct bfa_meminfo_s *meminfo, |
298 | struct bfa_pcidev_s *pcidev); | 298 | struct bfa_pcidev_s *pcidev); |
299 | void bfa_iocfc_detach(struct bfa_s *bfa); | ||
300 | void bfa_iocfc_init(struct bfa_s *bfa); | 299 | void bfa_iocfc_init(struct bfa_s *bfa); |
301 | void bfa_iocfc_start(struct bfa_s *bfa); | 300 | void bfa_iocfc_start(struct bfa_s *bfa); |
302 | void bfa_iocfc_stop(struct bfa_s *bfa); | 301 | void bfa_iocfc_stop(struct bfa_s *bfa); |
@@ -385,13 +384,7 @@ void bfa_cfg_get_meminfo(struct bfa_iocfc_cfg_s *cfg, | |||
385 | void bfa_attach(struct bfa_s *bfa, void *bfad, struct bfa_iocfc_cfg_s *cfg, | 384 | void bfa_attach(struct bfa_s *bfa, void *bfad, struct bfa_iocfc_cfg_s *cfg, |
386 | struct bfa_meminfo_s *meminfo, | 385 | struct bfa_meminfo_s *meminfo, |
387 | struct bfa_pcidev_s *pcidev); | 386 | struct bfa_pcidev_s *pcidev); |
388 | void bfa_init_trc(struct bfa_s *bfa, struct bfa_trc_mod_s *trcmod); | ||
389 | void bfa_init_plog(struct bfa_s *bfa, struct bfa_plog_s *plog); | ||
390 | void bfa_detach(struct bfa_s *bfa); | 387 | void bfa_detach(struct bfa_s *bfa); |
391 | void bfa_init(struct bfa_s *bfa); | ||
392 | void bfa_start(struct bfa_s *bfa); | ||
393 | void bfa_stop(struct bfa_s *bfa); | ||
394 | void bfa_attach_fcs(struct bfa_s *bfa); | ||
395 | void bfa_cb_init(void *bfad, bfa_status_t status); | 388 | void bfa_cb_init(void *bfad, bfa_status_t status); |
396 | void bfa_cb_updateq(void *bfad, bfa_status_t status); | 389 | void bfa_cb_updateq(void *bfad, bfa_status_t status); |
397 | 390 | ||
@@ -405,7 +398,6 @@ void bfa_comp_free(struct bfa_s *bfa, struct list_head *comp_q); | |||
405 | 398 | ||
406 | typedef void (*bfa_cb_ioc_t) (void *cbarg, enum bfa_status status); | 399 | typedef void (*bfa_cb_ioc_t) (void *cbarg, enum bfa_status status); |
407 | void bfa_iocfc_get_attr(struct bfa_s *bfa, struct bfa_iocfc_attr_s *attr); | 400 | void bfa_iocfc_get_attr(struct bfa_s *bfa, struct bfa_iocfc_attr_s *attr); |
408 | void bfa_get_attr(struct bfa_s *bfa, struct bfa_ioc_attr_s *ioc_attr); | ||
409 | 401 | ||
410 | 402 | ||
411 | bfa_status_t bfa_iocfc_israttr_set(struct bfa_s *bfa, | 403 | bfa_status_t bfa_iocfc_israttr_set(struct bfa_s *bfa, |
@@ -413,16 +405,7 @@ bfa_status_t bfa_iocfc_israttr_set(struct bfa_s *bfa, | |||
413 | 405 | ||
414 | void bfa_iocfc_enable(struct bfa_s *bfa); | 406 | void bfa_iocfc_enable(struct bfa_s *bfa); |
415 | void bfa_iocfc_disable(struct bfa_s *bfa); | 407 | void bfa_iocfc_disable(struct bfa_s *bfa); |
416 | void bfa_timer_tick(struct bfa_s *bfa); | ||
417 | #define bfa_timer_start(_bfa, _timer, _timercb, _arg, _timeout) \ | 408 | #define bfa_timer_start(_bfa, _timer, _timercb, _arg, _timeout) \ |
418 | bfa_timer_begin(&(_bfa)->timer_mod, _timer, _timercb, _arg, _timeout) | 409 | bfa_timer_begin(&(_bfa)->timer_mod, _timer, _timercb, _arg, _timeout) |
419 | 410 | ||
420 | /* | ||
421 | * BFA debug API functions | ||
422 | */ | ||
423 | bfa_status_t bfa_debug_fwtrc(struct bfa_s *bfa, void *trcdata, int *trclen); | ||
424 | bfa_status_t bfa_debug_fwsave(struct bfa_s *bfa, void *trcdata, int *trclen); | ||
425 | bfa_status_t bfa_debug_fwcore(struct bfa_s *bfa, void *buf, | ||
426 | u32 *offset, int *buflen); | ||
427 | |||
428 | #endif /* __BFA_H__ */ | 411 | #endif /* __BFA_H__ */ |