diff options
Diffstat (limited to 'drivers/target/iscsi/iscsi_target_nodeattrib.c')
-rw-r--r-- | drivers/target/iscsi/iscsi_target_nodeattrib.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/target/iscsi/iscsi_target_nodeattrib.c b/drivers/target/iscsi/iscsi_target_nodeattrib.c index aeafbe0cd7d1..b3c699c4fe8c 100644 --- a/drivers/target/iscsi/iscsi_target_nodeattrib.c +++ b/drivers/target/iscsi/iscsi_target_nodeattrib.c | |||
@@ -19,7 +19,6 @@ | |||
19 | ******************************************************************************/ | 19 | ******************************************************************************/ |
20 | 20 | ||
21 | #include <target/target_core_base.h> | 21 | #include <target/target_core_base.h> |
22 | #include <target/target_core_transport.h> | ||
23 | 22 | ||
24 | #include "iscsi_target_core.h" | 23 | #include "iscsi_target_core.h" |
25 | #include "iscsi_target_device.h" | 24 | #include "iscsi_target_device.h" |
@@ -135,7 +134,7 @@ extern int iscsit_na_nopin_timeout( | |||
135 | spin_lock_bh(&se_nacl->nacl_sess_lock); | 134 | spin_lock_bh(&se_nacl->nacl_sess_lock); |
136 | se_sess = se_nacl->nacl_sess; | 135 | se_sess = se_nacl->nacl_sess; |
137 | if (se_sess) { | 136 | if (se_sess) { |
138 | sess = (struct iscsi_session *)se_sess->fabric_sess_ptr; | 137 | sess = se_sess->fabric_sess_ptr; |
139 | 138 | ||
140 | spin_lock(&sess->conn_lock); | 139 | spin_lock(&sess->conn_lock); |
141 | list_for_each_entry(conn, &sess->sess_conn_list, | 140 | list_for_each_entry(conn, &sess->sess_conn_list, |