From 42b716f119ea994880364a7d423841ec97d99ac7 Mon Sep 17 00:00:00 2001 From: Edward O'Callaghan Date: Thu, 26 Jun 2014 21:38:52 +1000 Subject: [PATCH] northbridge/intel/nehalem/raminit.c: Extraneous parenthese Equality comparison with extraneous parenthese, spotted by Clang. Change-Id: I8d532392a0365753583ed441958e06d5da784587 Signed-off-by: Edward O'Callaghan Reviewed-on: http://review.coreboot.org/6124 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/northbridge/intel/nehalem/raminit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/northbridge/intel/nehalem/raminit.c b/src/northbridge/intel/nehalem/raminit.c index a2960f6e00..2ddc35caee 100644 --- a/src/northbridge/intel/nehalem/raminit.c +++ b/src/northbridge/intel/nehalem/raminit.c @@ -4148,7 +4148,7 @@ void raminit(const int s3resume, const u8 *spd_addrmap) write_mchbar32(0x1af0, 0x1f020003); gav(read_mchbar32(0x1af0)); // !!!! - if (((x2ca8 == 0))) { + if (x2ca8 == 0) { write_mchbar8(0x2ca8, read_mchbar8(0x2ca8) | 1); // guess }