diff options
| author | Eric Farman <[email protected]> | 2022-11-04 15:20:03 +0100 |
|---|---|---|
| committer | Alex Williamson <[email protected]> | 2022-11-10 11:11:25 -0700 |
| commit | 06caaa27df8f1a8a6be78212c5ef5cac04500176 (patch) | |
| tree | f39db1403b043b3524fd6d09a342c84007a9e6da /tools/perf/scripts/python | |
| parent | 008a011d68036ebfa4dede07cb9b93dedaa958b1 (diff) | |
vfio/ccw: move private initialization to callback
There's already a device initialization callback that is used to
initialize the release completion workaround that was introduced
by commit ebb72b765fb49 ("vfio/ccw: Use the new device life cycle
helpers").
Move the other elements of the vfio_ccw_private struct that
require distinct initialization over to that routine.
With that done, the vfio_ccw_alloc_private routine only does a
kzalloc, so fold it inline.
Signed-off-by: Eric Farman <[email protected]>
Reviewed-by: Matthew Rosato <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions