summaryrefslogtreecommitdiffstats
path: root/src/device/device.c
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-10-17 10:56:26 +0200
committerPatrick Georgi <pgeorgi@google.com>2018-10-23 15:52:09 +0000
commita342f3937e7ce159fd170ab8cd26ba799a3bc9e4 (patch)
tree4bd4540ba11286f465272c1fbee62dbf5f9789f8 /src/device/device.c
parent9856892297ad997f586a1b4dd0a494f3764a0ce2 (diff)
downloadcoreboot-a342f3937e7ce159fd170ab8cd26ba799a3bc9e4.tar.gz
coreboot-a342f3937e7ce159fd170ab8cd26ba799a3bc9e4.tar.bz2
coreboot-a342f3937e7ce159fd170ab8cd26ba799a3bc9e4.zip
src: Remove unneeded whitespace
Change-Id: I6c77f4289b46646872731ef9c20dc115f0cf876d Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/29161 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/device/device.c')
-rw-r--r--src/device/device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device/device.c b/src/device/device.c
index dcbaef1279e3..7836af1e995f 100644
--- a/src/device/device.c
+++ b/src/device/device.c
@@ -123,7 +123,7 @@ static struct device *__alloc_dev(struct bus *parent, struct device_path *path)
struct device *dev, *child;
/* Find the last child of our parent. */
- for (child = parent->children; child && child->sibling; /* */ )
+ for (child = parent->children; child && child->sibling; /* */)
child = child->sibling;
dev = malloc(sizeof(*dev));