mirror of
https://github.com/torvalds/linux.git
synced 2026-05-28 09:04:39 +02:00
RDMA/irdma: Remove unused struct irdma_cq fields
These fields were set but not used anywhere, so remove them. Link: https://patch.msgid.link/r/20250923142128.943240-1-jmoroni@google.com Signed-off-by: Jacob Moroni <jmoroni@google.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
This commit is contained in:
parent
4bab6d9584
commit
880245fd02
|
|
@ -2544,8 +2544,6 @@ static int irdma_create_cq(struct ib_cq *ibcq,
|
|||
goto cq_free_rsrc;
|
||||
}
|
||||
|
||||
iwcq->iwpbl = iwpbl;
|
||||
iwcq->cq_mem_size = 0;
|
||||
cqmr = &iwpbl->cq_mr;
|
||||
|
||||
if (rf->sc_dev.hw_attrs.uk_attrs.feature_flags &
|
||||
|
|
@ -2560,7 +2558,6 @@ static int irdma_create_cq(struct ib_cq *ibcq,
|
|||
err_code = -EPROTO;
|
||||
goto cq_free_rsrc;
|
||||
}
|
||||
iwcq->iwpbl_shadow = iwpbl_shadow;
|
||||
cqmr_shadow = &iwpbl_shadow->cq_mr;
|
||||
info.shadow_area_pa = cqmr_shadow->cq_pbl.addr;
|
||||
cqmr->split = true;
|
||||
|
|
|
|||
|
|
@ -140,21 +140,15 @@ struct irdma_srq {
|
|||
struct irdma_cq {
|
||||
struct ib_cq ibcq;
|
||||
struct irdma_sc_cq sc_cq;
|
||||
u16 cq_head;
|
||||
u16 cq_size;
|
||||
u16 cq_num;
|
||||
bool user_mode;
|
||||
atomic_t armed;
|
||||
enum irdma_cmpl_notify last_notify;
|
||||
u32 polled_cmpls;
|
||||
u32 cq_mem_size;
|
||||
struct irdma_dma_mem kmem;
|
||||
struct irdma_dma_mem kmem_shadow;
|
||||
struct completion free_cq;
|
||||
refcount_t refcnt;
|
||||
spinlock_t lock; /* for poll cq */
|
||||
struct irdma_pbl *iwpbl;
|
||||
struct irdma_pbl *iwpbl_shadow;
|
||||
struct list_head resize_list;
|
||||
struct irdma_cq_poll_info cur_cqe;
|
||||
struct list_head cmpl_generated;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user