aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sim/common/hw-base.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sim/common/hw-base.c b/sim/common/hw-base.c
index dc94461..c142806 100644
--- a/sim/common/hw-base.c
+++ b/sim/common/hw-base.c
@@ -526,7 +526,6 @@ do_hw_attach_regs (struct hw *hw)
NULL
};
const char **reg_property_name;
- int nr_valid_reg_properties = 0;
for (reg_property_name = reg_property_names;
*reg_property_name != NULL;
reg_property_name++)
@@ -557,7 +556,6 @@ do_hw_attach_regs (struct hw *hw)
0,
attach_space, attach_address, attach_size,
hw);
- nr_valid_reg_properties++;
}
/* if first option matches don't try for any others */
if (reg_property_name == reg_property_names)