Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 36d4e87b authored by Thomas Hellstrom's avatar Thomas Hellstrom
Browse files

drm/vmwgfx: Remove duplicate ttm_bo_device_release



No need to try to call ttm_bo_device_release twice during module unload.

Signed-off-by: default avatarThomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: default avatarSinclair Yeh <syeh@vmware.com>
parent 772269f9
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -965,7 +965,6 @@ static int vmw_driver_unload(struct drm_device *dev)
	ttm_object_device_release(&dev_priv->tdev);
	iounmap(dev_priv->mmio_virt);
	arch_phys_wc_del(dev_priv->mmio_mtrr);
	(void)ttm_bo_device_release(&dev_priv->bdev);
	if (dev_priv->ctx.staged_bindings)
		vmw_binding_state_free(dev_priv->ctx.staged_bindings);
	vmw_ttm_global_release(dev_priv);