controller.c: Fix logical ‘or’ of equal expressions

Change-Id: I81e669428d51c40c2ea77dc140dae4f0fd55012b
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/memtest86plus/+/33443
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
diff --git a/controller.c b/controller.c
index 2a7ee29..6e41b6b 100644
--- a/controller.c
+++ b/controller.c
@@ -3496,7 +3496,7 @@
 	pci_conf_read(0, 24, 2, 0x94, 4, &dramchr);
 	pci_conf_read(0, 24, 2, 0x194, 4, &dramchrb);
 
-	if (((dramchr>>14) & 0x1) || ((dramchr>>14) & 0x1)) { chan = 1; } else { chan = 2; }
+	if ((dramchr>>14) & 0x1) { chan = 1; } else { chan = 2; }
 
 	// If Channel A not enabled, switch to channel B
 	if (((dramchr>>14) & 0x1)) {