summaryrefslogtreecommitdiffstats
path: root/nicintel_eeprom.c
diff options
context:
space:
mode:
authorAnastasia Klimchuk <aklm@chromium.org>2021-08-03 10:41:50 +1000
committerNico Huber <nico.h@gmx.de>2021-08-17 16:28:31 +0000
commit099be52132361be2aa37c19bb444b35b931abecc (patch)
treed29245a9b361aca27479a64c1c8464a3f3f5aaf5 /nicintel_eeprom.c
parent0a7f036610673f6664c9d1492912abfdfbdf9f20 (diff)
downloadflashrom-099be52132361be2aa37c19bb444b35b931abecc.tar.gz
flashrom-099be52132361be2aa37c19bb444b35b931abecc.tar.bz2
flashrom-099be52132361be2aa37c19bb444b35b931abecc.zip
nicintel_eeprom: Delete extra parentheses from if condition
BUG=185191942 TEST=builds Change-Id: I068bd227668a79f14e38e703a5a49db18d5de8c7 Signed-off-by: Anastasia Klimchuk <aklm@chromium.org> Reviewed-on: https://review.coreboot.org/c/flashrom/+/56820 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
Diffstat (limited to 'nicintel_eeprom.c')
-rw-r--r--nicintel_eeprom.c2
1 files changed, 1 insertions, 1 deletions
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