Skip to content

Commit f0c73c7

Browse files
committed
RDMA/i40iw: Remove FMR leftovers
The ibfmr member is never referenced, remove it. Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Max Gurtovoy <[email protected]> Acked-by: Shiraz Saleem <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
1 parent 7c08bc1 commit f0c73c7

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

drivers/infiniband/hw/i40iw/i40iw.h

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -381,15 +381,6 @@ static inline struct i40iw_mr *to_iwmr(struct ib_mr *ibmr)
381381
return container_of(ibmr, struct i40iw_mr, ibmr);
382382
}
383383

384-
/**
385-
* to_iwmr_from_ibfmr - get device memory region
386-
* @ibfmr: ib fmr
387-
**/
388-
static inline struct i40iw_mr *to_iwmr_from_ibfmr(struct ib_fmr *ibfmr)
389-
{
390-
return container_of(ibfmr, struct i40iw_mr, ibfmr);
391-
}
392-
393384
/**
394385
* to_iwmw - get device memory window
395386
* @ibmw: ib memory window

drivers/infiniband/hw/i40iw/i40iw_verbs.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@ struct i40iw_mr {
8989
union {
9090
struct ib_mr ibmr;
9191
struct ib_mw ibmw;
92-
struct ib_fmr ibfmr;
9392
};
9493
struct ib_umem *region;
9594
u16 type;

0 commit comments

Comments
 (0)