diff options
author | Oleksij Rempel <linux@rempel-privat.de> | 2018-11-10 08:59:51 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2018-11-19 09:20:03 +0100 |
commit | 4bc94d9c8fa33188ed7ef71fd2d66fdd0781d531 (patch) | |
tree | 8d98f3d6de0e429f5f4f115f673d3d5766d35686 /common/ddr_spd.c | |
parent | 24bb8a7bee5ec3f9669876d206e2aec5f2277c0b (diff) | |
download | barebox-4bc94d9c8fa33188ed7ef71fd2d66fdd0781d531.tar.gz barebox-4bc94d9c8fa33188ed7ef71fd2d66fdd0781d531.tar.xz |
ddr_spd: remove unused array
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/ddr_spd.c')
-rw-r--r-- | common/ddr_spd.c | 2 |
1 files changed, 0 insertions, 2 deletions
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]++; } } |