mirror of
https://github.com/SCST-project/scst.git
synced 2026-09-26 09:54:17 +00:00
Sparse cleanups
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1713 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -1140,7 +1140,6 @@ static inline void __iscsi_put_page_callback(struct iscsi_cmnd *cmd) {}
|
||||
void req_add_to_write_timeout_list(struct iscsi_cmnd *req)
|
||||
{
|
||||
struct iscsi_conn *conn;
|
||||
unsigned long timeout_time;
|
||||
bool set_conn_tm_active = false;
|
||||
|
||||
TRACE_ENTRY();
|
||||
@@ -1168,6 +1167,7 @@ void req_add_to_write_timeout_list(struct iscsi_cmnd *req)
|
||||
&conn->write_timeout_list);
|
||||
|
||||
if (!timer_pending(&conn->rsp_timer)) {
|
||||
unsigned long timeout_time;
|
||||
if (unlikely(conn->conn_tm_active ||
|
||||
test_bit(ISCSI_CMD_ABORTED,
|
||||
&req->prelim_compl_flags))) {
|
||||
|
||||
Reference in New Issue
Block a user