]> Git Repo - linux.git/commitdiff
drm/vmwgfx: Remove duplicate ttm_bo_device_release
authorThomas Hellstrom <[email protected]>
Wed, 19 Aug 2015 10:19:47 +0000 (03:19 -0700)
committerThomas Hellstrom <[email protected]>
Fri, 21 Aug 2015 07:38:23 +0000 (00:38 -0700)
No need to try to call ttm_bo_device_release twice during module unload.

Signed-off-by: Thomas Hellstrom <[email protected]>
Reviewed-by: Sinclair Yeh <[email protected]>
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c

index f97ec5686cbc155f39811e418f724317ce09b315..03854d606d589bd6730423e34aa48e5f1c388c13 100644 (file)
@@ -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);
This page took 0.054005 seconds and 4 git commands to generate.