|
|
@@ -579,10 +579,6 @@ static int fill_res_pd_entry(struct sk_buff *msg, struct netlink_callback *cb,
|
|
|
if (nla_put_u64_64bit(msg, RDMA_NLDEV_ATTR_RES_USECNT,
|
|
|
atomic_read(&pd->usecnt), RDMA_NLDEV_ATTR_PAD))
|
|
|
goto err;
|
|
|
- if ((pd->flags & IB_PD_UNSAFE_GLOBAL_RKEY) &&
|
|
|
- nla_put_u32(msg, RDMA_NLDEV_ATTR_RES_UNSAFE_GLOBAL_RKEY,
|
|
|
- pd->unsafe_global_rkey))
|
|
|
- goto err;
|
|
|
|
|
|
if (fill_res_name_pid(msg, res))
|
|
|
goto err;
|