From: Kirill A. Shutemov Date: Thu, 8 Mar 2012 16:04:08 +0000 (+0000) Subject: gma500: mmu: drop unused psb_get_default_pd_addr() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b2d57b337f88229e31f2ee11ab64e3caf5db8031;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git gma500: mmu: drop unused psb_get_default_pd_addr() Signed-off-by: Kirill A. Shutemov Signed-off-by: Alan Cox Signed-off-by: Dave Airlie --- diff --git a/drivers/gpu/drm/gma500/mmu.c b/drivers/gpu/drm/gma500/mmu.c index c904d73b1de3..7ba6af394cb5 100644 --- a/drivers/gpu/drm/gma500/mmu.c +++ b/drivers/gpu/drm/gma500/mmu.c @@ -488,15 +488,6 @@ struct psb_mmu_pd *psb_mmu_get_default_pd(struct psb_mmu_driver *driver) return pd; } -/* Returns the physical address of the PD shared by sgx/msvdx */ -uint32_t psb_get_default_pd_addr(struct psb_mmu_driver *driver) -{ - struct psb_mmu_pd *pd; - - pd = psb_mmu_get_default_pd(driver); - return page_to_pfn(pd->p) << PAGE_SHIFT; -} - void psb_mmu_driver_takedown(struct psb_mmu_driver *driver) { psb_mmu_free_pagedir(driver->default_pd);