summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2015-07-19 00:12:55 +0000
committerJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2015-07-19 00:12:55 +0000
commita26602b3a6eea7932b8e2dbfc094ed3affb8dfab (patch)
tree4dc7371498f3f901d7341f058aba43e46cf1f884 /sys
parent95c145ea48992805eb104e9a57dee0a98076db01 (diff)
remove pointless cast
ok pirofti@
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/octeon/dev/cn30xxfpa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/octeon/dev/cn30xxfpa.c b/sys/arch/octeon/dev/cn30xxfpa.c
index 8a9b9e76a3f..cb3b622563f 100644
--- a/sys/arch/octeon/dev/cn30xxfpa.c
+++ b/sys/arch/octeon/dev/cn30xxfpa.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cn30xxfpa.c,v 1.4 2014/08/11 18:29:56 miod Exp $ */
+/* $OpenBSD: cn30xxfpa.c,v 1.5 2015/07/19 00:12:54 jasper Exp $ */
/*
* Copyright (c) 2007 Internet Initiative Japan, Inc.
@@ -370,7 +370,7 @@ cn30xxfpa_dump_regs(void)
uint64_t tmp;
int i;
- for (i = 0; i < (int)nitems(cn30xxfpa_dump_regs_); i++) {
+ for (i = 0; i < nitems(cn30xxfpa_dump_regs_); i++) {
reg = &cn30xxfpa_dump_regs_[i];
tmp = bus_space_read_8(sc->sc_regt, sc->sc_regh, reg->offset);
printf("\t%-24s: %16llx\n", reg->name, tmp);