From 4bc94d9c8fa33188ed7ef71fd2d66fdd0781d531 Mon Sep 17 00:00:00 2001 From: Oleksij Rempel Date: Sat, 10 Nov 2018 08:59:51 +0100 Subject: ddr_spd: remove unused array Signed-off-by: Oleksij Rempel Signed-off-by: Sascha Hauer --- common/ddr_spd.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'common/ddr_spd.c') diff --git a/common/ddr_spd.c b/common/ddr_spd.c index ec343ef5a5..7e2945ed96 100644 --- a/common/ddr_spd.c +++ b/common/ddr_spd.c @@ -166,7 +166,6 @@ static int ddr2_sdram_ctime(uint8_t byte) void ddr_spd_print(uint8_t *record) { int highestCAS = 0; - int cas[256]; int i, i_i, k, x, y; int ddrclk, tbits, pcclk; int trcd, trp, tras; @@ -199,7 +198,6 @@ void ddr_spd_print(uint8_t *record) for (i_i = 2; i_i < 7; i_i++) { if (s->cas_lat & 1 << i_i) { highestCAS = i_i; - cas[highestCAS]++; } } -- cgit v1.2.3