diff options
author | Jason Gunthorpe <[email protected]> | 2021-04-06 16:40:40 -0300 |
---|---|---|
committer | Alex Williamson <[email protected]> | 2021-04-12 10:36:00 -0600 |
commit | c2ef2f50ad0ccf5460bf4824bc6669240b6c7936 (patch) | |
tree | b9fbaa129e752cd51b85aef7b6dfdd672f6781ca /tools/perf/util/trace-event-scripting.c | |
parent | 383987fd15ba8f37bdc20994dadeb13df76342d6 (diff) |
vfio/mdev: Remove kobj from mdev_parent_ops->create()
The kobj here is a type-erased version of mdev_type, which is already
stored in the struct mdev_device being passed in. It was only ever used to
compute the type_group_id, which is now extracted directly from the mdev.
Reviewed-by: Kevin Tian <[email protected]>
Reviewed-by: Cornelia Huck <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions