drm/i915/gvt: remove module refcounting in intel_gvt_{,un}register_hypervisor
authorChristoph Hellwig <hch@lst.de>
Mon, 11 Apr 2022 14:13:30 +0000 (16:13 +0200)
committerZhi Wang <zhi.a.wang@intel.com>
Thu, 21 Apr 2022 11:36:56 +0000 (07:36 -0400)
commita85749e12d66c2cd89d1bce05ef9abca8b5875e9
tree3ca6f8d9dc7c755529dae80f997b25cfb115a0ad
parent7f0cf30187cdb1f04d905505ffde910cecf1b35e
drm/i915/gvt: remove module refcounting in intel_gvt_{,un}register_hypervisor

THIS_MODULE always is reference when a symbol called by it is used, so
don't bother with the additional reference.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Zhi Wang <zhi.a.wang@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20220411141403.86980-2-hch@lst.de
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Zhi Wang <zhi.a.wang@intel.com>
drivers/gpu/drm/i915/gvt/gvt.c