From 099be52132361be2aa37c19bb444b35b931abecc Mon Sep 17 00:00:00 2001 From: Anastasia Klimchuk Date: Tue, 3 Aug 2021 10:41:50 +1000 Subject: nicintel_eeprom: Delete extra parentheses from if condition BUG=185191942 TEST=builds Change-Id: I068bd227668a79f14e38e703a5a49db18d5de8c7 Signed-off-by: Anastasia Klimchuk Reviewed-on: https://review.coreboot.org/c/flashrom/+/56820 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons Reviewed-by: Edward O'Callaghan --- nicintel_eeprom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nicintel_eeprom.c') diff --git a/nicintel_eeprom.c b/nicintel_eeprom.c index b5f205083..430a980e5 100644 --- a/nicintel_eeprom.c +++ b/nicintel_eeprom.c @@ -466,7 +466,7 @@ static int nicintel_ee_init(void) return 1; nicintel_pci = dev; - if ((dev->device_id != UNPROG_DEVICE)) { + if (dev->device_id != UNPROG_DEVICE) { uint32_t eec = pci_mmio_readl(nicintel_eebar + EEC); /* C.f. 3.3.1.5 for the detection mechanism (maybe? contradicting -- cgit v1.2.3