From da98030f8079a1a7e108d620d6e858d384c3f257 Mon Sep 17 00:00:00 2001 From: OBattler Date: Wed, 12 Jul 2023 00:40:51 +0200 Subject: [PATCH] Part 6. --- src/mem/row.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/mem/row.c b/src/mem/row.c index 5b959060b..2152c1f54 100644 --- a/src/mem/row.c +++ b/src/mem/row.c @@ -113,7 +113,6 @@ void row_allocate(uint8_t row_id, uint8_t set) { uint32_t c, offset; - int diff; /* Do nothing if size is either zero or invalid. */ if ((rows[row_id].host_size == 0x00000000) || (rows[row_id].host_size == 0xffffffff)) @@ -186,9 +185,6 @@ row_disable(uint8_t row_id) void row_set_boundary(uint8_t row_id, uint32_t boundary) { - uint32_t base, size; - int i; - if (row_id >= rows_num) return; @@ -244,8 +240,7 @@ row_init(const device_t *info) uint8_t phys_drbs[16]; int i, max = info->local & 0xff; int c; - uint32_t size, shift; - uint32_t drb, old_drb; + uint32_t shift, drb; uint32_t boundary, mask; row_t *new_rows = NULL;