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