isci: additional state machine cleanup
Additional state machine cleanups: o Remove static functions sci_state_machine_exit_state() and sci_state_machine_enter_state() o Combines sci_base_state_machine_construct() and sci_base_state_machine_start() into a single function, sci_init_sm() o Remove sci_base_state_machine_stop() which is unused. o Kill state_machine.[ch] Signed-off-by: Edmund Nadolski <edmund.nadolski@intel.com> [fixed too large to inline functions] Signed-off-by: Dan Williams <dan.j.williams@intel.com>
此提交包含在:
@@ -1807,11 +1807,7 @@ static const struct sci_base_state scic_sds_port_state_table[] = {
|
||||
void scic_sds_port_construct(struct scic_sds_port *sci_port, u8 index,
|
||||
struct scic_sds_controller *scic)
|
||||
{
|
||||
sci_base_state_machine_construct(&sci_port->sm,
|
||||
scic_sds_port_state_table,
|
||||
SCI_PORT_STOPPED);
|
||||
|
||||
sci_base_state_machine_start(&sci_port->sm);
|
||||
sci_init_sm(&sci_port->sm, scic_sds_port_state_table, SCI_PORT_STOPPED);
|
||||
|
||||
sci_port->logical_port_index = SCIC_SDS_DUMMY_PORT;
|
||||
sci_port->physical_port_index = index;
|
||||
|
新增問題並參考
封鎖使用者