summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorOleksij Rempel <linux@rempel-privat.de>2018-11-10 08:59:51 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2018-11-19 09:20:03 +0100
commit4bc94d9c8fa33188ed7ef71fd2d66fdd0781d531 (patch)
tree8d98f3d6de0e429f5f4f115f673d3d5766d35686 /common
parent24bb8a7bee5ec3f9669876d206e2aec5f2277c0b (diff)
downloadbarebox-4bc94d9c8fa33188ed7ef71fd2d66fdd0781d531.tar.gz
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')
-rw-r--r--common/ddr_spd.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/common/ddr_spd.c b/common/ddr_spd.c
index ec343ef..7e2945e 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]++;
}
}