mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 03:10:12 +00:00
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: Thomas Hellstrom <thellstrom@vmware.com> Reviewed-by: Sinclair Yeh <syeh@vmware.com>
This commit is contained in:
parent
772269f970
commit
36d4e87b49
1 changed files with 0 additions and 1 deletions
|
@ -965,7 +965,6 @@ static int vmw_driver_unload(struct drm_device *dev)
|
||||||
ttm_object_device_release(&dev_priv->tdev);
|
ttm_object_device_release(&dev_priv->tdev);
|
||||||
iounmap(dev_priv->mmio_virt);
|
iounmap(dev_priv->mmio_virt);
|
||||||
arch_phys_wc_del(dev_priv->mmio_mtrr);
|
arch_phys_wc_del(dev_priv->mmio_mtrr);
|
||||||
(void)ttm_bo_device_release(&dev_priv->bdev);
|
|
||||||
if (dev_priv->ctx.staged_bindings)
|
if (dev_priv->ctx.staged_bindings)
|
||||||
vmw_binding_state_free(dev_priv->ctx.staged_bindings);
|
vmw_binding_state_free(dev_priv->ctx.staged_bindings);
|
||||||
vmw_ttm_global_release(dev_priv);
|
vmw_ttm_global_release(dev_priv);
|
||||||
|
|
Loading…
Reference in a new issue