diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/infiniband/hw/cxgb3/iwch.c | 2 | ||||
-rw-r--r-- | drivers/infiniband/hw/cxgb3/iwch.h | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/drivers/infiniband/hw/cxgb3/iwch.c b/drivers/infiniband/hw/cxgb3/iwch.c index e09cc1a81999..06086256ca1d 100644 --- a/drivers/infiniband/hw/cxgb3/iwch.c +++ b/drivers/infiniband/hw/cxgb3/iwch.c | |||
@@ -71,8 +71,6 @@ static void rnic_init(struct iwch_dev *rnicp) | |||
71 | idr_init(&rnicp->mmidr); | 71 | idr_init(&rnicp->mmidr); |
72 | spin_lock_init(&rnicp->lock); | 72 | spin_lock_init(&rnicp->lock); |
73 | 73 | ||
74 | rnicp->attr.vendor_id = 0x168; | ||
75 | rnicp->attr.vendor_part_id = 7; | ||
76 | rnicp->attr.max_qps = T3_MAX_NUM_QP - 32; | 74 | rnicp->attr.max_qps = T3_MAX_NUM_QP - 32; |
77 | rnicp->attr.max_wrs = T3_MAX_QP_DEPTH; | 75 | rnicp->attr.max_wrs = T3_MAX_QP_DEPTH; |
78 | rnicp->attr.max_sge_per_wr = T3_MAX_SGE; | 76 | rnicp->attr.max_sge_per_wr = T3_MAX_SGE; |
diff --git a/drivers/infiniband/hw/cxgb3/iwch.h b/drivers/infiniband/hw/cxgb3/iwch.h index d2409a505e8d..3773453b2cf0 100644 --- a/drivers/infiniband/hw/cxgb3/iwch.h +++ b/drivers/infiniband/hw/cxgb3/iwch.h | |||
@@ -48,8 +48,6 @@ struct iwch_qp; | |||
48 | struct iwch_mr; | 48 | struct iwch_mr; |
49 | 49 | ||
50 | struct iwch_rnic_attributes { | 50 | struct iwch_rnic_attributes { |
51 | u32 vendor_id; | ||
52 | u32 vendor_part_id; | ||
53 | u32 max_qps; | 51 | u32 max_qps; |
54 | u32 max_wrs; /* Max for any SQ/RQ */ | 52 | u32 max_wrs; /* Max for any SQ/RQ */ |
55 | u32 max_sge_per_wr; | 53 | u32 max_sge_per_wr; |