From: Antonio Borneo Date: Sat, 10 Apr 2010 08:46:59 +0000 (+0800) Subject: ARMV4_5_MMU: review unused symbols X-Git-Tag: v0.5.0-rc1~781 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4a1bd5b80603f73593fd7094d7da41ff72130461;p=openocd ARMV4_5_MMU: review unused symbols Remove unused data: - armv4_5_mmu_page_type_names Remove prototype of not existing function: - armv4mmu_translate_va Signed-off-by: Antonio Borneo --- diff --git a/src/target/armv4_5_mmu.c b/src/target/armv4_5_mmu.c index 4d2fbeeb..fc1dde75 100644 --- a/src/target/armv4_5_mmu.c +++ b/src/target/armv4_5_mmu.c @@ -26,13 +26,6 @@ #include "armv4_5_mmu.h" -uint32_t armv4mmu_translate_va(struct target *target, struct armv4_5_mmu_common *armv4_5_mmu, uint32_t va, int *type, uint32_t *cb, int *domain, uint32_t *ap); - -char* armv4_5_mmu_page_type_names[] = -{ - "section", "large page", "small page", "tiny page" -}; - uint32_t armv4_5_mmu_translate_va(struct target *target, struct armv4_5_mmu_common *armv4_5_mmu, uint32_t va, int *type, uint32_t *cb, int *domain, uint32_t *ap) { uint32_t first_lvl_descriptor = 0x0;