diff options
author | Swen Schillig <swen@vnet.ibm.com> | 2009-03-02 07:09:02 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2009-03-12 13:58:20 -0400 |
commit | 21283916322f579a580e413652cdefbfa3ec676f (patch) | |
tree | a6a31286753c58d00ed90783d81e7d7f10527f3c /drivers/s390/scsi/zfcp_fsf.c | |
parent | 8fdf30d5429605a4c30cc515c73e5eab140035de (diff) |
[SCSI] zfcp: remove undefined subtype for status read response
The status read response FSF_STATUS_READ_SUB_ERROR_PORT is not
defined in the specs and therefore not valid.
All occurrences are removed from the code.
Signed-off-by: Swen Schillig <swen@vnet.ibm.com>
Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/s390/scsi/zfcp_fsf.c')
-rw-r--r-- | drivers/s390/scsi/zfcp_fsf.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/drivers/s390/scsi/zfcp_fsf.c b/drivers/s390/scsi/zfcp_fsf.c index 9c3f91a343f3..698e42214a37 100644 --- a/drivers/s390/scsi/zfcp_fsf.c +++ b/drivers/s390/scsi/zfcp_fsf.c | |||
@@ -162,14 +162,7 @@ static void zfcp_fsf_status_read_port_closed(struct zfcp_fsf_req *req) | |||
162 | list_for_each_entry(port, &adapter->port_list_head, list) | 162 | list_for_each_entry(port, &adapter->port_list_head, list) |
163 | if (port->d_id == d_id) { | 163 | if (port->d_id == d_id) { |
164 | read_unlock_irqrestore(&zfcp_data.config_lock, flags); | 164 | read_unlock_irqrestore(&zfcp_data.config_lock, flags); |
165 | switch (sr_buf->status_subtype) { | 165 | zfcp_erp_port_reopen(port, 0, 101, req); |
166 | case FSF_STATUS_READ_SUB_CLOSE_PHYS_PORT: | ||
167 | zfcp_erp_port_reopen(port, 0, 101, req); | ||
168 | break; | ||
169 | case FSF_STATUS_READ_SUB_ERROR_PORT: | ||
170 | zfcp_erp_port_shutdown(port, 0, 122, req); | ||
171 | break; | ||
172 | } | ||
173 | return; | 166 | return; |
174 | } | 167 | } |
175 | read_unlock_irqrestore(&zfcp_data.config_lock, flags); | 168 | read_unlock_irqrestore(&zfcp_data.config_lock, flags); |