summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-11-01 14:32:02 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-11-01 14:32:02 +0000
commit610464812b967527f875801e59a087664775f1ba (patch)
treea09395d41625a0fe19f033fe7c960dc6d7572e83
parent6b217c913eb9e9a8ef7d6c02c53cd41e4a1366c9 (diff)
Unnecessary cast.
-rw-r--r--sys/arch/alpha/alpha/mem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/alpha/alpha/mem.c b/sys/arch/alpha/alpha/mem.c
index 0e9b04fecce..7511c84a86c 100644
--- a/sys/arch/alpha/alpha/mem.c
+++ b/sys/arch/alpha/alpha/mem.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mem.c,v 1.14 2001/11/01 12:13:45 art Exp $ */
+/* $OpenBSD: mem.c,v 1.15 2001/11/01 14:32:01 art Exp $ */
/* $NetBSD: mem.c,v 1.26 2000/03/29 03:48:20 simonb Exp $ */
/*
@@ -213,7 +213,7 @@ mmmmap(dev, off, prot)
/*
* Allow access only in RAM.
*/
- if ((prot & alpha_pa_access(atop((paddr_t)off))) != prot)
+ if ((prot & alpha_pa_access(atop(off))) != prot)
return (-1);
return (alpha_btop(off));
}