]> Git Repo - linux.git/commitdiff
IB/isert: Remove an unused member variable
authorBart Van Assche <[email protected]>
Thu, 21 Jul 2016 20:04:25 +0000 (13:04 -0700)
committerDoug Ledford <[email protected]>
Tue, 2 Aug 2016 16:02:41 +0000 (12:02 -0400)
Signed-off-by: Bart Van Assche <[email protected]>
Reviewed-by: Sagi Grimberg <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Tested-by: Steve Wise <[email protected]>
Tested-by: Laurence Oberman <[email protected]>
Cc: Parav Pandit <[email protected]>
Cc: Nicholas Bellinger <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
drivers/infiniband/ulp/isert/ib_isert.c
drivers/infiniband/ulp/isert/ib_isert.h

index a990c04208c94e1d79a28442381c5c6fbb522077..ba6be060a476b19d608c7797bed4526b7df04332 100644 (file)
@@ -137,8 +137,6 @@ isert_create_qp(struct isert_conn *isert_conn,
        attr.cap.max_recv_wr = ISERT_QP_MAX_RECV_DTOS + 1;
        attr.cap.max_rdma_ctxs = ISCSI_DEF_XMIT_CMDS_MAX;
        attr.cap.max_send_sge = device->ib_device->attrs.max_sge;
-       isert_conn->max_sge = min(device->ib_device->attrs.max_sge,
-                                 device->ib_device->attrs.max_sge_rd);
        attr.cap.max_recv_sge = 1;
        attr.sq_sig_type = IB_SIGNAL_REQ_WR;
        attr.qp_type = IB_QPT_RC;
index e512ba941f2f980d659b3e75ec31fb708964ff01..fc791efe3a108178f1949f386548ed84ae81ebc8 100644 (file)
@@ -138,7 +138,6 @@ struct isert_conn {
        u32                     responder_resources;
        u32                     initiator_depth;
        bool                    pi_support;
-       u32                     max_sge;
        struct iser_rx_desc     *login_req_buf;
        char                    *login_rsp_buf;
        u64                     login_req_dma;
This page took 0.062211 seconds and 4 git commands to generate.