From bfdb8937b27700546bc233287c657e2f634a3177 Mon Sep 17 00:00:00 2001 From: Lee Leahy Date: Tue, 7 Mar 2017 15:17:04 -0800 Subject: 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 Reviewed-on: https://review.coreboot.org/18654 Tested-by: build bot (Jenkins) Reviewed-by: Arthur Heymans Reviewed-by: Paul Menzel --- src/include/device/pci.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/include/device/pci.h') diff --git a/src/include/device/pci.h b/src/include/device/pci.h index 13d63d4f6c..e18a09afe0 100644 --- a/src/include/device/pci.h +++ b/src/include/device/pci.h @@ -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; } -- cgit v1.2.3