diff options
author | Dan Williams <dan.j.williams@intel.com> | 2011-03-26 23:30:35 (GMT) |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2011-07-03 11:00:36 (GMT) |
commit | 068b2c03635bf50c9b408b21435e23e7a0b89b0f (patch) | |
tree | ecdea391b5c13cfeab84747ec4960a881a9316eb /drivers/scsi/isci/firmware | |
parent | f942f32ea05eff727c41e1a1112cab305b836377 (diff) | |
download | linux-fsl-qoriq-068b2c03635bf50c9b408b21435e23e7a0b89b0f.tar.xz |
isci: kill some long macros
Delete some macros that are longer to type than the open coded operation
that they perform.
scic_sds_phy_get_base_state_machine
scic_sds_phy_get_starting_substate_machine
scic_sds_port_get_base_state_machine
scic_sds_port_get_ready_substate_machine
scic_sds_remote_device_get_base_state_machine
scic_sds_remote_device_get_ready_substate_machine
scic_sds_remote_node_context_set_remote_node_index
scic_sds_controller_get_base_state_machine
Also performs some collateral cleanups like killing casts that assume
structure member ordering, and consolidating a lot of duplicated default
handler code (the primary callers of the *_get_base_state_machine macros) via
a helper.
Reported-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/scsi/isci/firmware')
0 files changed, 0 insertions, 0 deletions