From f2fcf22d225e6d8d4a497dba6bda24f98d525735 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Sun, 2 Oct 2016 10:09:11 +0200 Subject: src/mainboard: Remove unnecessary whitespace Change-Id: I35cb7e08d5233aa5a3dbb4631ab2ee4dc9596f98 Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/16849 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- src/mainboard/google/butterfly/mainboard.c | 3 ++- src/mainboard/google/guado/lan.c | 3 ++- src/mainboard/google/jecht/lan.c | 3 ++- src/mainboard/google/panther/lan.c | 3 ++- src/mainboard/google/rikku/lan.c | 3 ++- src/mainboard/google/tidus/lan.c | 3 ++- 6 files changed, 12 insertions(+), 6 deletions(-) (limited to 'src/mainboard/google') diff --git a/src/mainboard/google/butterfly/mainboard.c b/src/mainboard/google/butterfly/mainboard.c index 2c5170d27d..a100981df5 100644 --- a/src/mainboard/google/butterfly/mainboard.c +++ b/src/mainboard/google/butterfly/mainboard.c @@ -43,7 +43,8 @@ static unsigned int search(char *p, char *a, unsigned int lengthp, /* Searching */ for (j = 0; j <= lengtha - lengthp; j++) { - for (i = 0; i < lengthp && p[i] == a[i + j]; i++) ; + for (i = 0; i < lengthp && p[i] == a[i + j]; i++) + ; if (i >= lengthp) return j; } diff --git a/src/mainboard/google/guado/lan.c b/src/mainboard/google/guado/lan.c index 041c3f0c51..0d97dbea0e 100644 --- a/src/mainboard/google/guado/lan.c +++ b/src/mainboard/google/guado/lan.c @@ -31,7 +31,8 @@ static unsigned int search(char *p, u8 *a, unsigned int lengthp, /* Searching */ for (j = 0; j <= lengtha - lengthp; j++) { - for (i = 0; i < lengthp && p[i] == a[i + j]; i++) ; + for (i = 0; i < lengthp && p[i] == a[i + j]; i++) + ; if (i >= lengthp) return j; } diff --git a/src/mainboard/google/jecht/lan.c b/src/mainboard/google/jecht/lan.c index 651c8e6990..bb6ff6e016 100644 --- a/src/mainboard/google/jecht/lan.c +++ b/src/mainboard/google/jecht/lan.c @@ -31,7 +31,8 @@ static unsigned int search(char *p, u8 *a, unsigned int lengthp, /* Searching */ for (j = 0; j <= lengtha - lengthp; j++) { - for (i = 0; i < lengthp && p[i] == a[i + j]; i++) ; + for (i = 0; i < lengthp && p[i] == a[i + j]; i++) + ; if (i >= lengthp) return j; } diff --git a/src/mainboard/google/panther/lan.c b/src/mainboard/google/panther/lan.c index 202d8d04ff..dc6541937a 100644 --- a/src/mainboard/google/panther/lan.c +++ b/src/mainboard/google/panther/lan.c @@ -31,7 +31,8 @@ static unsigned int search(char *p, u8 *a, unsigned int lengthp, /* Searching */ for (j = 0; j <= lengtha - lengthp; j++) { - for (i = 0; i < lengthp && p[i] == a[i + j]; i++) ; + for (i = 0; i < lengthp && p[i] == a[i + j]; i++) + ; if (i >= lengthp) return j; } diff --git a/src/mainboard/google/rikku/lan.c b/src/mainboard/google/rikku/lan.c index e5676af186..7d797c316e 100644 --- a/src/mainboard/google/rikku/lan.c +++ b/src/mainboard/google/rikku/lan.c @@ -31,7 +31,8 @@ static unsigned int search(char *p, u8 *a, unsigned int lengthp, /* Searching */ for (j = 0; j <= lengtha - lengthp; j++) { - for (i = 0; i < lengthp && p[i] == a[i + j]; i++) ; + for (i = 0; i < lengthp && p[i] == a[i + j]; i++) + ; if (i >= lengthp) return j; } diff --git a/src/mainboard/google/tidus/lan.c b/src/mainboard/google/tidus/lan.c index 7c03f6c25e..6f965cfa27 100644 --- a/src/mainboard/google/tidus/lan.c +++ b/src/mainboard/google/tidus/lan.c @@ -31,7 +31,8 @@ static unsigned int search(char *p, u8 *a, unsigned int lengthp, /* Searching */ for (j = 0; j <= lengtha - lengthp; j++) { - for (i = 0; i < lengthp && p[i] == a[i + j]; i++) ; + for (i = 0; i < lengthp && p[i] == a[i + j]; i++) + ; if (i >= lengthp) return j; } -- cgit v1.2.3