aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/libsas/sas_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/libsas/sas_init.c')
-rw-r--r--drivers/scsi/libsas/sas_init.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/scsi/libsas/sas_init.c b/drivers/scsi/libsas/sas_init.c
index 64e9cdda1c3c..d3f5b57b3ebf 100644
--- a/drivers/scsi/libsas/sas_init.c
+++ b/drivers/scsi/libsas/sas_init.c
@@ -106,17 +106,6 @@ void sas_hash_addr(u8 *hashed, const u8 *sas_addr)
106 hashed[2] = r & 0xFF; 106 hashed[2] = r & 0xFF;
107} 107}
108 108
109
110/* ---------- HA events ---------- */
111
112void sas_hae_reset(struct work_struct *work)
113{
114 struct sas_ha_event *ev = to_sas_ha_event(work);
115 struct sas_ha_struct *ha = ev->ha;
116
117 clear_bit(HAE_RESET, &ha->pending);
118}
119
120int sas_register_ha(struct sas_ha_struct *sas_ha) 109int sas_register_ha(struct sas_ha_struct *sas_ha)
121{ 110{
122 int error = 0; 111 int error = 0;
@@ -154,7 +143,6 @@ int sas_register_ha(struct sas_ha_struct *sas_ha)
154 INIT_LIST_HEAD(&sas_ha->eh_ata_q); 143 INIT_LIST_HEAD(&sas_ha->eh_ata_q);
155 144
156 return 0; 145 return 0;
157
158Undo_ports: 146Undo_ports:
159 sas_unregister_ports(sas_ha); 147 sas_unregister_ports(sas_ha);
160Undo_phys: 148Undo_phys: