On Tue, Nov 02, 2021 at 08:05:55AM +0100, Christoph Hellwig wrote:
Just call the initializion and exit functions directly and remove this abstraction entirely.
Signed-off-by: Christoph Hellwig hch@lst.de
drivers/gpu/drm/i915/gvt/gvt.c | 11 ++++- drivers/gpu/drm/i915/gvt/gvt.h | 12 ++--- drivers/gpu/drm/i915/gvt/hypercall.h | 50 ------------------- drivers/gpu/drm/i915/gvt/kvmgt.c | 39 ++------------- drivers/gpu/drm/i915/gvt/mpt.h | 74 ---------------------------- 5 files changed, 17 insertions(+), 169 deletions(-) delete mode 100644 drivers/gpu/drm/i915/gvt/hypercall.h delete mode 100644 drivers/gpu/drm/i915/gvt/mpt.h
Reviewed-by: Jason Gunthorpe jgg@nvidia.com
Jason
dri-devel@lists.freedesktop.org