diff --git a/linux-core/drm_memory.h b/linux-core/drm_memory.h index 299185cb..b5a01749 100644 --- a/linux-core/drm_memory.h +++ b/linux-core/drm_memory.h @@ -104,8 +104,6 @@ unsigned long DRM(alloc_pages)(int order, int area) void DRM(free_pages)(unsigned long address, int order, int area) { unsigned long bytes = PAGE_SIZE << order; - int alloc_count; - int free_count; unsigned long addr; unsigned int sz; diff --git a/linux/drm_memory.h b/linux/drm_memory.h index 299185cb..b5a01749 100644 --- a/linux/drm_memory.h +++ b/linux/drm_memory.h @@ -104,8 +104,6 @@ unsigned long DRM(alloc_pages)(int order, int area) void DRM(free_pages)(unsigned long address, int order, int area) { unsigned long bytes = PAGE_SIZE << order; - int alloc_count; - int free_count; unsigned long addr; unsigned int sz;