aboutsummaryrefslogtreecommitdiffstats
path: root/usemem.c
diff options
context:
space:
mode:
Diffstat (limited to 'usemem.c')
-rw-r--r--usemem.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/usemem.c b/usemem.c
index 48c3d65..e2c46ec 100644
--- a/usemem.c
+++ b/usemem.c
@@ -329,18 +329,6 @@ void detach(void)
}
}
-unsigned long do_access(unsigned long *p, unsigned long idx, int read)
-{
- volatile unsigned long *vp = p;
-
- if (read)
- return vp[idx]; /* read data */
- else {
- vp[idx] = idx; /* write data */
- return 0;
- }
-}
-
unsigned long * allocate(unsigned long bytes)
{
unsigned long *p;