summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2008-07-11 13:47:21 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2008-07-11 13:47:21 +0000
commit8cc953e39ce465c9a40cc9e8d80aab2d5ed72ae0 (patch)
tree0d9d3aafa57d6e32124e717172261fd6bf887f6a /sys/arch
parent42515336920764bf50b25d8c08ca4369c7cd4452 (diff)
Don't try to read the "regs" propety; it's pointless.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/sparc64/dev/cmp.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/arch/sparc64/dev/cmp.c b/sys/arch/sparc64/dev/cmp.c
index bcc9c3b4c32..353c790ab73 100644
--- a/sys/arch/sparc64/dev/cmp.c
+++ b/sys/arch/sparc64/dev/cmp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmp.c,v 1.1 2008/06/10 00:02:09 kettenis Exp $ */
+/* $OpenBSD: cmp.c,v 1.2 2008/07/11 13:47:20 kettenis Exp $ */
/*
* Copyright (c) 2008 Mark Kettenis
*
@@ -67,8 +67,6 @@ cmp_attach(struct device *parent, struct device *self, void *aux)
bzero(&nma, sizeof(nma));
nma.ma_node = node;
nma.ma_name = buf;
- getprop(node, "reg", sizeof(*nma.ma_reg),
- &nma.ma_nreg, (void **)&nma.ma_reg);
config_found(self, &nma, cmp_print);
}
}