soc/intel/broadwell: Fix 'dead increment'
Dead increment spotted out using clang-tools. Change-Id: Icfab0b9ce97722fe97a0306cb45fbc2bd072bad6 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/36130 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
parent
cc6809c8b1
commit
878b685814
|
@ -75,8 +75,7 @@ static void sata_init(struct device *dev)
|
|||
pci_write_config32(dev, 0x98, reg32);
|
||||
|
||||
/* Setup register 9Ch */
|
||||
reg16 = 0; /* Disable alternate ID */
|
||||
reg16 = 1 << 5; /* BWG step 12 */
|
||||
reg16 = (1 << 5); /* BWG step 12 */
|
||||
pci_write_config16(dev, 0x9c, reg16);
|
||||
|
||||
/* SATA Initialization register */
|
||||
|
|
Loading…
Reference in New Issue