Skip to content
Commit 321d7863 authored by Jason Gunthorpe's avatar Jason Gunthorpe
Browse files

IB/uverbs: Delete type and id from uverbs_obj_attr



In this context the uobject is not allowed to be NULL, so type is the same
as uobject->type, and at least for IDR, id is the same as uobject->id.

FD objects should never handle the FD number outside the uAPI boundary
code.

Suggested-by: default avatarGuy Levi <guyle@mellanox.com>
Signed-off-by: default avatarJason Gunthorpe <jgg@mellanox.com>
parent 4d7dff2b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment