drm/nouveau: Don't take dev->struct_mutex in ttm_fini
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 9 Jul 2015 21:32:45 +0000 (23:32 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 11 Aug 2015 10:04:15 +0000 (12:04 +0200)
commitc325f88d7d8a58fbfaaa5bb9c1d39f2cb4fba827
tree59e5cc6dae93c875bd0fa509caf796b2966abbd1
parent648a4ce7ca209db92db5c3cecb05c14d147a2e6a
drm/nouveau: Don't take dev->struct_mutex in ttm_fini

This is only called in driver load/unload paths, no need to grab any
locks at all. Also, ttm takes care of itself anyway.

Cc: Ben Skeggs <bskeggs@redhat.com>
Reviewed-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
drivers/gpu/drm/nouveau/nouveau_ttm.c