[PATCH 2/6] drm/msm/dpu: Remove unused macro
Drew Davenport
ddavenport at chromium.org
Fri Sep 6 19:23:40 UTC 2019
Signed-off-by: Drew Davenport <ddavenport at chromium.org>
---
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.h | 4 ----
1 file changed, 4 deletions(-)
diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_kms.h b/drivers/gpu/drm/msm/disp/dpu1/dpu_kms.h
index 4c889aabdaf9..6ceba33a179e 100644
--- a/drivers/gpu/drm/msm/disp/dpu1/dpu_kms.h
+++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_kms.h
@@ -139,10 +139,6 @@ struct vsync_info {
#define to_dpu_kms(x) container_of(x, struct dpu_kms, base)
-/* get struct msm_kms * from drm_device * */
-#define ddev_to_msm_kms(D) ((D) && (D)->dev_private ? \
- ((struct msm_drm_private *)((D)->dev_private))->kms : NULL)
-
/**
* Debugfs functions - extra helper functions for debugfs support
*
--
2.20.1
More information about the dri-devel
mailing list