diff options
Diffstat (limited to 'drivers/s390/scsi/zfcp_def.h')
-rw-r--r-- | drivers/s390/scsi/zfcp_def.h | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/drivers/s390/scsi/zfcp_def.h b/drivers/s390/scsi/zfcp_def.h index e1b5b88e2dd..6ed48654c29 100644 --- a/drivers/s390/scsi/zfcp_def.h +++ b/drivers/s390/scsi/zfcp_def.h | |||
@@ -143,8 +143,7 @@ struct zfcp_erp_action { | |||
143 | struct zfcp_unit *unit; | 143 | struct zfcp_unit *unit; |
144 | u32 status; /* recovery status */ | 144 | u32 status; /* recovery status */ |
145 | u32 step; /* active step of this erp action */ | 145 | u32 step; /* active step of this erp action */ |
146 | struct zfcp_fsf_req *fsf_req; /* fsf request currently pending | 146 | unsigned long fsf_req_id; |
147 | for this action */ | ||
148 | struct timer_list timer; | 147 | struct timer_list timer; |
149 | }; | 148 | }; |
150 | 149 | ||
@@ -379,18 +378,4 @@ zfcp_reqlist_find(struct zfcp_adapter *adapter, unsigned long req_id) | |||
379 | return NULL; | 378 | return NULL; |
380 | } | 379 | } |
381 | 380 | ||
382 | static inline struct zfcp_fsf_req * | ||
383 | zfcp_reqlist_find_safe(struct zfcp_adapter *adapter, struct zfcp_fsf_req *req) | ||
384 | { | ||
385 | struct zfcp_fsf_req *request; | ||
386 | unsigned int idx; | ||
387 | |||
388 | for (idx = 0; idx < REQUEST_LIST_SIZE; idx++) { | ||
389 | list_for_each_entry(request, &adapter->req_list[idx], list) | ||
390 | if (request == req) | ||
391 | return request; | ||
392 | } | ||
393 | return NULL; | ||
394 | } | ||
395 | |||
396 | #endif /* ZFCP_DEF_H */ | 381 | #endif /* ZFCP_DEF_H */ |