drm/msm: remove unused compile-test stub
authorRob Clark <robdclark@gmail.com>
Fri, 7 Nov 2014 23:11:02 +0000 (18:11 -0500)
committerRob Clark <robdclark@gmail.com>
Sun, 16 Nov 2014 19:27:36 +0000 (14:27 -0500)
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/msm_drv.h

index 5901be44477762d376349870d974ee93334a0d46..5ab6c3dff3c090897cac6f3b4eeffa5128c20f49 100644 (file)
 #include <linux/types.h>
 #include <asm/sizes.h>
 
-
-#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 <mach/board.h>
 #include <mach/socinfo.h>