Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/evbppc/ev64260 Remove an unused variable
details: https://anonhg.NetBSD.org/src/rev/cc3bc740aa11
branches: trunk
changeset: 327006:cc3bc740aa11
user: martin <martin%NetBSD.org@localhost>
date: Tue Feb 25 14:33:32 2014 +0000
description:
Remove an unused variable
diffstat:
sys/arch/evbppc/ev64260/machdep.c | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
diffs (76 lines):
diff -r a1b44977b769 -r cc3bc740aa11 sys/arch/evbppc/ev64260/machdep.c
--- a/sys/arch/evbppc/ev64260/machdep.c Tue Feb 25 14:22:59 2014 +0000
+++ b/sys/arch/evbppc/ev64260/machdep.c Tue Feb 25 14:33:32 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.30 2013/03/01 18:25:39 joerg Exp $ */
+/* $NetBSD: machdep.c,v 1.31 2014/02/25 14:33:32 martin Exp $ */
/*
* Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.30 2013/03/01 18:25:39 joerg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.31 2014/02/25 14:33:32 martin Exp $");
#include "opt_marvell.h"
#include "opt_modular.h"
@@ -397,10 +397,10 @@
{
const struct gt_decode_info *di;
uint32_t datal, datah;
- int error, bs, i;
+ int bs, i;
bs = 0;
- error = bus_space_init(&ev64260_gt_bs_tag, "gt",
+ bus_space_init(&ev64260_gt_bs_tag, "gt",
ex_storage[bs], sizeof(ex_storage[bs]));
bs++;
@@ -418,7 +418,7 @@
memt->pbs_limit = GT_HighAddr_GET(datah) + 1 -
memt->pbs_offset;
- error = bus_space_init(memt, "obio2",
+ bus_space_init(memt, "obio2",
ex_storage[bs], sizeof(ex_storage[bs]));
bs++;
}
@@ -438,7 +438,7 @@
ev64260_pci0_mem_bs_tag.pbs_base = GT_LowAddr_GET(datal);
ev64260_pci0_mem_bs_tag.pbs_limit = GT_HighAddr_GET(datah) + 1;
- error = bus_space_init(&ev64260_pci0_mem_bs_tag, "pci0-mem",
+ bus_space_init(&ev64260_pci0_mem_bs_tag, "pci0-mem",
ex_storage[bs], sizeof(ex_storage[bs]));
bs++;
@@ -472,7 +472,7 @@
ev64260_pci0_io_bs_tag.pbs_limit = GT_HighAddr_GET(datah) + 1 -
ev64260_pci0_io_bs_tag.pbs_offset;
- error = bus_space_init(&ev64260_pci0_io_bs_tag, "pci0-ioport",
+ bus_space_init(&ev64260_pci0_io_bs_tag, "pci0-ioport",
ex_storage[bs], sizeof(ex_storage[bs]));
bs++;
@@ -491,7 +491,7 @@
ev64260_pci1_mem_bs_tag.pbs_base = GT_LowAddr_GET(datal);
ev64260_pci1_mem_bs_tag.pbs_limit = GT_HighAddr_GET(datah) + 1;
- error = bus_space_init(&ev64260_pci1_mem_bs_tag, "pci1-mem",
+ bus_space_init(&ev64260_pci1_mem_bs_tag, "pci1-mem",
ex_storage[bs], sizeof(ex_storage[bs]));
bs++;
@@ -525,7 +525,7 @@
ev64260_pci1_io_bs_tag.pbs_limit = GT_HighAddr_GET(datah) + 1 -
ev64260_pci1_io_bs_tag.pbs_offset;
- error = bus_space_init(&ev64260_pci1_io_bs_tag, "pci1-ioport",
+ bus_space_init(&ev64260_pci1_io_bs_tag, "pci1-ioport",
ex_storage[bs], sizeof(ex_storage[bs]));
bs++;
}
Home |
Main Index |
Thread Index |
Old Index