IB/iser: Remove struct iscsi_iser_conn
authorAriel Nahum <arieln@mellanox.com>
Tue, 1 Apr 2014 13:28:39 +0000 (16:28 +0300)
committerRoland Dreier <roland@purestorage.com>
Tue, 1 Apr 2014 18:09:46 +0000 (11:09 -0700)
commit4667f5dfb0c36a86339652aca694736ebc590871
treea0ee07cc5c114e5f33b22362ca863bfe7ef01834
parent1d6c2b736fd251c1f827704b1234d81b28c112d6
IB/iser: Remove struct iscsi_iser_conn

The iscsi stack has existing mechanisms to link back and forth between
the iscsi connection and the iscsi transport (e.g iser/tcp) connection.

This is done through a dd_data pointer field in struct iscsi_conn
which can be set to point to the transport connection, etc.

The iscsi_iser_conn structure was used to get this linking done in
another way, which is uneeded and adds extra complication to the iser
code, so we just remove it.

Signed-off-by: Ariel Nahum <arieln@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/ulp/iser/iscsi_iser.c
drivers/infiniband/ulp/iser/iscsi_iser.h
drivers/infiniband/ulp/iser/iser_initiator.c
drivers/infiniband/ulp/iser/iser_memory.c
drivers/infiniband/ulp/iser/iser_verbs.c