[PATCH 13/22] drm/amd/display: remove some unused wrappers
Harry Wentland
harry.wentland at amd.com
Wed Dec 21 16:30:07 UTC 2016
From: Dave Airlie <airlied at redhat.com>
Change-Id: I6a9fa696b54ea05c89e8d521b2217111627d4df9
Signed-off-by: Dave Airlie <airlied at redhat.com>
Reviewed-by: Tony Cheng <Tony.Cheng at amd.com>
Acked-by: Harry Wentland <Harry.Wentland at amd.com>
---
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_services.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_services.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_services.c
index 9d5125951acd..9c852a36a604 100644
--- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_services.c
+++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_services.c
@@ -36,10 +36,6 @@
#include "amdgpu_dm_types.h"
#include "amdgpu_pm.h"
-#define dm_alloc(size) kzalloc(size, GFP_KERNEL)
-#define dm_realloc(ptr, size) krealloc(ptr, size, GFP_KERNEL)
-#define dm_free(ptr) kfree(ptr)
-
/******************************************************************************
* IRQ Interfaces.
*****************************************************************************/
--
2.9.3
More information about the amd-gfx
mailing list