src/include: Remove braces for single statements
Fix the following warning detected by checkpatch.pl: WARNING: braces {} are not necessary for single statement blocks TEST=Build and run on Galileo Gen2 Change-Id: I00b59f6a27c3acb393deaa763596363b7e958efd Signed-off-by: Lee Leahy <Leroy.P.Leahy@intel.com> Reviewed-on: https://review.coreboot.org/18654 Tested-by: build bot (Jenkins) Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
This commit is contained in:
@ -103,9 +103,8 @@ static inline const struct pci_operations *ops_pci(device_t dev)
|
||||
{
|
||||
const struct pci_operations *pops;
|
||||
pops = 0;
|
||||
if (dev && dev->ops) {
|
||||
if (dev && dev->ops)
|
||||
pops = dev->ops->ops_pci;
|
||||
}
|
||||
return pops;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user