aboutsummaryrefslogtreecommitdiff
path: root/sim/ppc/hw_shm.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/ppc/hw_shm.c')
-rw-r--r--sim/ppc/hw_shm.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sim/ppc/hw_shm.c b/sim/ppc/hw_shm.c
index f2fa144..c4d5cae 100644
--- a/sim/ppc/hw_shm.c
+++ b/sim/ppc/hw_shm.c
@@ -89,7 +89,6 @@ static void
hw_shm_init_data(device *me)
{
hw_shm_device *shm = (hw_shm_device*)device_data(me);
- const device_unit *d;
reg_property_spec reg;
int i;
@@ -147,8 +146,6 @@ hw_shm_attach_address_callback(device *me,
access_type access,
device *client) /*callback/default*/
{
- hw_shm_device *shm = (hw_shm_device*)device_data(me);
-
if (space != 0)
error("shm_attach_address_callback() invalid address space\n");