diff options
author | Andreas Herrmann <aherrman@de.ibm.com> | 2006-09-18 16:29:56 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-09-23 19:01:23 -0400 |
commit | 2abbe866c8eb0296e3f5343bcf73e5371522a738 (patch) | |
tree | c839b12b43d07d538e32bcabec1fefa2106f384f /drivers/s390/scsi/zfcp_aux.c | |
parent | 4eff4a36516d72e4f6ede901141214a7e05607e7 (diff) |
[SCSI] zfcp: introduce struct timer_list in struct zfcp_fsf_req
This instance will be used whenever a timer is needed for
a request by zfcp.
Signed-off-by: Andreas Herrmann <aherrman@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/s390/scsi/zfcp_aux.c')
-rw-r--r-- | drivers/s390/scsi/zfcp_aux.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/s390/scsi/zfcp_aux.c b/drivers/s390/scsi/zfcp_aux.c index 504c9219961c..5d39b2df0cc4 100644 --- a/drivers/s390/scsi/zfcp_aux.c +++ b/drivers/s390/scsi/zfcp_aux.c | |||
@@ -1135,9 +1135,6 @@ zfcp_adapter_enqueue(struct ccw_device *ccw_device) | |||
1135 | /* initialize lock of associated request queue */ | 1135 | /* initialize lock of associated request queue */ |
1136 | rwlock_init(&adapter->request_queue.queue_lock); | 1136 | rwlock_init(&adapter->request_queue.queue_lock); |
1137 | 1137 | ||
1138 | /* intitialise SCSI ER timer */ | ||
1139 | init_timer(&adapter->scsi_er_timer); | ||
1140 | |||
1141 | /* mark adapter unusable as long as sysfs registration is not complete */ | 1138 | /* mark adapter unusable as long as sysfs registration is not complete */ |
1142 | atomic_set_mask(ZFCP_STATUS_COMMON_REMOVE, &adapter->status); | 1139 | atomic_set_mask(ZFCP_STATUS_COMMON_REMOVE, &adapter->status); |
1143 | 1140 | ||
@@ -1653,7 +1650,6 @@ zfcp_ns_gid_pn_request(struct zfcp_erp_action *erp_action) | |||
1653 | gid_pn->ct.handler = zfcp_ns_gid_pn_handler; | 1650 | gid_pn->ct.handler = zfcp_ns_gid_pn_handler; |
1654 | gid_pn->ct.handler_data = (unsigned long) gid_pn; | 1651 | gid_pn->ct.handler_data = (unsigned long) gid_pn; |
1655 | gid_pn->ct.timeout = ZFCP_NS_GID_PN_TIMEOUT; | 1652 | gid_pn->ct.timeout = ZFCP_NS_GID_PN_TIMEOUT; |
1656 | gid_pn->ct.timer = &erp_action->timer; | ||
1657 | gid_pn->port = erp_action->port; | 1653 | gid_pn->port = erp_action->port; |
1658 | 1654 | ||
1659 | ret = zfcp_fsf_send_ct(&gid_pn->ct, adapter->pool.fsf_req_erp, | 1655 | ret = zfcp_fsf_send_ct(&gid_pn->ct, adapter->pool.fsf_req_erp, |