Now that the mutex is no longer used in drm_gem_cma_prime_mmap,
the 'dev' variable is not referenced either, which gcc warns about:
drivers/gpu/drm/drm_gem_cma_helper.c:484:21: warning: unused variable 'dev'
This removes it too.
Signed-off-by: Arnd Bergmann
Fixes: 4e270f088011 ("drm/gem: Drop s
Remove an unused variable that generates a compilation warning
introduced in commit 4e270f088011 ("drm/gem: Drop struct_mutex
requirement from drm_gem_mmap_obj").
Signed-off-by: Laurent Pinchart
---
drivers/gpu/drm/drm_gem_cma_helper.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/g