isci: remove port start handler
remove the handler from the port state handler table and implement the
logic directly in scic_sds_port_start().
Signed-off-by: Piotr Sawicki <piotr.sawicki@intel.com>
[remove a level of indirection]
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
diff --git a/drivers/scsi/isci/port.h b/drivers/scsi/isci/port.h
index e63c34d..2ad2051 100644
--- a/drivers/scsi/isci/port.h
+++ b/drivers/scsi/isci/port.h
@@ -313,12 +313,6 @@
struct scic_sds_port_state_handler {
/**
- * The start_handler specifies the method invoked when a user
- * attempts to start a port.
- */
- scic_sds_port_handler_t start_handler;
-
- /**
* The stop_handler specifies the method invoked when a user
* attempts to stop a port.
*/
@@ -417,6 +411,8 @@
void __iomem *port_configuration_regsiter,
void __iomem *viit_registers);
+enum sci_status scic_sds_port_start(struct scic_sds_port *sci_port);
+
enum sci_status scic_sds_port_add_phy(
struct scic_sds_port *sci_port,
struct scic_sds_phy *sci_phy);