diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2019-05-22 21:44:48 +0200 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2019-06-04 13:18:14 +0000 |
commit | 2dbc09567780b7d1bbb311dff5b2789b5c2184a4 (patch) | |
tree | a7027699edcdce1e3825c9b9f0e9b0beb1c8b3ff | |
parent | ec017590e54f5941f53cf33d8ebce6d311313a46 (diff) | |
download | coreboot-2dbc09567780b7d1bbb311dff5b2789b5c2184a4.tar.xz |
nb/intel/x4x/rcven.c: Remove variable set but not used
Change-Id: I13d6593e283f0a9e6603e19ccfda116f3b145e52
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/32948
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r-- | src/northbridge/intel/x4x/rcven.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/northbridge/intel/x4x/rcven.c b/src/northbridge/intel/x4x/rcven.c index 7c49838d13..36a6ebd259 100644 --- a/src/northbridge/intel/x4x/rcven.c +++ b/src/northbridge/intel/x4x/rcven.c @@ -41,7 +41,6 @@ static inline void barrier(void) static u8 sampledqs(u32 addr, u8 lane, u8 channel) { - volatile u32 strobe; u32 sample_offset = 0x400 * channel + 0x561 + lane * 4; /* Reset the DQS probe */ @@ -50,7 +49,8 @@ static u8 sampledqs(u32 addr, u8 lane, u8 channel) MCHBAR8(RESET_CNTL(channel)) |= 0x2; udelay(2); barrier(); - strobe = read32((u32 *)addr); + /* Read strobe */ + read32((u32 *)addr); barrier(); return (MCHBAR8(sample_offset) >> 6) & 1; } |