i40iw: Remove unused static_rsrc from i40iw_create_qp_info
authorMustafa Ismail <mustafa.ismail@intel.com>
Mon, 16 Oct 2017 20:45:56 +0000 (15:45 -0500)
committerDoug Ledford <dledford@redhat.com>
Wed, 18 Oct 2017 17:28:46 +0000 (13:28 -0400)
The field static_rsrc in i40iw_create_qp_info is unused
and not needed. Remove it.

Signed-off-by: Mustafa Ismail <mustafa.ismail@intel.com>
Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/i40iw/i40iw_ctrl.c
drivers/infiniband/hw/i40iw/i40iw_d.h
drivers/infiniband/hw/i40iw/i40iw_type.h

index 04284e8190110b2d18ca7aa66c429303a516b253..a4bd968f8bc139839d93b22149b72d46b3774225 100644 (file)
@@ -2448,7 +2448,6 @@ static enum i40iw_status_code i40iw_sc_qp_create(
                 LS_64(qp->qp_type, I40IW_CQPSQ_QP_QPTYPE) |
                 LS_64(qp->virtual_map, I40IW_CQPSQ_QP_VQ) |
                 LS_64(info->cq_num_valid, I40IW_CQPSQ_QP_CQNUMVALID) |
-                LS_64(info->static_rsrc, I40IW_CQPSQ_QP_STATRSRC) |
                 LS_64(info->arp_cache_idx_valid, I40IW_CQPSQ_QP_ARPTABIDXVALID) |
                 LS_64(info->next_iwarp_state, I40IW_CQPSQ_QP_NEXTIWSTATE) |
                 LS_64(cqp->polarity, I40IW_CQPSQ_WQEVALID);
@@ -2511,7 +2510,6 @@ static enum i40iw_status_code i40iw_sc_qp_modify(
                 LS_64(info->cq_num_valid, I40IW_CQPSQ_QP_CQNUMVALID) |
                 LS_64(info->force_loopback, I40IW_CQPSQ_QP_FORCELOOPBACK) |
                 LS_64(qp->qp_type, I40IW_CQPSQ_QP_QPTYPE) |
-                LS_64(info->static_rsrc, I40IW_CQPSQ_QP_STATRSRC) |
                 LS_64(info->remove_hash_idx, I40IW_CQPSQ_QP_REMOVEHASHENTRY) |
                 LS_64(term_actions, I40IW_CQPSQ_QP_TERMACT) |
                 LS_64(info->reset_tcp_conn, I40IW_CQPSQ_QP_RESETCON) |
index 60c785a68b5e0b3a0ee142fca04809f2f7aeed01..40d474384a4e87e15a11aa903a944902e8fc0c1a 100644 (file)
 #define I40IW_CQPSQ_QP_MSSCHANGE_SHIFT 52
 #define I40IW_CQPSQ_QP_MSSCHANGE_MASK (1ULL << I40IW_CQPSQ_QP_MSSCHANGE_SHIFT)
 
-#define I40IW_CQPSQ_QP_STATRSRC_SHIFT 53
-#define I40IW_CQPSQ_QP_STATRSRC_MASK (1ULL << I40IW_CQPSQ_QP_STATRSRC_SHIFT)
-
 #define I40IW_CQPSQ_QP_IGNOREMWBOUND_SHIFT 54
 #define I40IW_CQPSQ_QP_IGNOREMWBOUND_MASK       \
        (1ULL << I40IW_CQPSQ_QP_IGNOREMWBOUND_SHIFT)
index 7798e8e2f9bda615dc02804d44e75d90fad0be30..608164250c653455f5d5de348d03c48a8d8cca85 100644 (file)
@@ -535,7 +535,6 @@ struct i40iw_create_qp_info {
        bool ord_valid;
        bool tcp_ctx_valid;
        bool cq_num_valid;
-       bool static_rsrc;
        bool arp_cache_idx_valid;
 };
 
@@ -547,7 +546,6 @@ struct i40iw_modify_qp_info {
        bool ord_valid;
        bool tcp_ctx_valid;
        bool cq_num_valid;
-       bool static_rsrc;
        bool arp_cache_idx_valid;
        bool reset_tcp_conn;
        bool remove_hash_idx;