From 584caf6d1c6b44ce2f19c95581b7c6f134e2ba59 Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Mon, 15 Jun 2015 22:32:15 +0200 Subject: zynq: remove unused PTE typedef all the mmu code uses ulong, so get rid of the typeded. --- sys/src/9/zynq/dat.h | 1 - sys/src/9/zynq/mmu.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'sys/src') diff --git a/sys/src/9/zynq/dat.h b/sys/src/9/zynq/dat.h index 01cba862c..2d3e681a7 100644 --- a/sys/src/9/zynq/dat.h +++ b/sys/src/9/zynq/dat.h @@ -11,7 +11,6 @@ typedef struct Notsave Notsave; typedef struct Page Page; typedef struct Proc Proc; typedef struct PMMU PMMU; -typedef u32int PTE; typedef struct Ureg Ureg; typedef struct ISAConf ISAConf; typedef uvlong Tval; diff --git a/sys/src/9/zynq/mmu.c b/sys/src/9/zynq/mmu.c index 14f915759..d9d9e7cc1 100644 --- a/sys/src/9/zynq/mmu.c +++ b/sys/src/9/zynq/mmu.c @@ -141,7 +141,7 @@ putmmu(uintptr va, uintptr pa, Page *pg) Page *p; ulong *e; ulong *l2; - PTE old; + ulong old; uintptr l2p; int s; -- cgit v1.2.3