diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/infiniband/ulp/iser/iser_verbs.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/infiniband/ulp/iser/iser_verbs.c b/drivers/infiniband/ulp/iser/iser_verbs.c index b9d6aa102aa5..ed7c90135412 100644 --- a/drivers/infiniband/ulp/iser/iser_verbs.c +++ b/drivers/infiniband/ulp/iser/iser_verbs.c | |||
@@ -346,8 +346,6 @@ static void iser_conn_release(struct iser_conn *ib_conn) | |||
346 | /* on EVENT_ADDR_ERROR there's no device yet for this conn */ | 346 | /* on EVENT_ADDR_ERROR there's no device yet for this conn */ |
347 | if (device != NULL) | 347 | if (device != NULL) |
348 | iser_device_try_release(device); | 348 | iser_device_try_release(device); |
349 | if (ib_conn->iser_conn) | ||
350 | ib_conn->iser_conn->ib_conn = NULL; | ||
351 | iscsi_destroy_endpoint(ib_conn->ep); | 349 | iscsi_destroy_endpoint(ib_conn->ep); |
352 | } | 350 | } |
353 | 351 | ||