From: Rob Clark Date: Fri, 7 Nov 2014 23:11:02 +0000 (-0500) Subject: drm/msm: remove unused compile-test stub X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=032f8d5c41082ceb457a601f9c464233a3876291;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git drm/msm: remove unused compile-test stub Signed-off-by: Rob Clark --- diff --git a/drivers/gpu/drm/msm/msm_drv.h b/drivers/gpu/drm/msm/msm_drv.h index 5901be444777..5ab6c3dff3c0 100644 --- a/drivers/gpu/drm/msm/msm_drv.h +++ b/drivers/gpu/drm/msm/msm_drv.h @@ -32,15 +32,6 @@ #include #include - -#if defined(CONFIG_COMPILE_TEST) && !defined(CONFIG_ARCH_QCOM) -/* stubs we need for compile-test: */ -static inline struct device *msm_iommu_get_ctx(const char *ctx_name) -{ - return NULL; -} -#endif - #ifndef CONFIG_OF #include #include