Skip to contentSkip to conversation

staging: greybus: remove blank line after an open brace '{'.

PATCH In review joahannes 2 participants 2 messages Sep 4, 2019 – Sep 5, 2019

Subsystems (2)
lore
Share & tools
lore

joahannes

author
#0 lore raw

PATCH 1/1 staging: greybus: remove blank line after an open brace '{'.

Fix checkpatch error
"CHECK: Blank lines aren't necessary after an open brace '{'" in loopback_test.c:742.

---
 drivers/staging/greybus/tools/loopback_test.c | 1 -
 1 file changed, 1 deletion(-)
drivers/staging/greybus/tools/loopback_test.c +0 -1
index ba6f905f2..251b05710 100644
@@ -739,7 +739,6 @@ static int wait_for_complete(struct loopback_test *t)
 		ts = &t->poll_timeout;
 
 	while (1) {
-
 		ret = ppoll(t->fds, t->poll_count, ts, &mask_old);
 		if (ret <= 0) {
 			stop_tests(t);
Signature · 1 line
2.20.1
maintainer
#1 lore raw
Quoted 3 lines · joahannes

Fix checkpatch error
"CHECK: Blank lines aren't necessary after an open brace '{'" in loopback_test.c:742.

Please fix up all of the blank lines before/after closing/opening brace checkpatch CHECKs in one go. There appears to be many of them.

Quoted 1 line

We need your full name here and in the From line.

Quoted 2 lines
---
 drivers/staging/greybus/tools/loopback_test.c | 1 -

Also, please include the component your modifying in the subject line even if you need to shorten the description somehow, for example,

staging: greybus: loopback_test: remove unnecessary blank lines

Quoted 7 lines
 1 file changed, 1 deletion(-)
drivers/staging/greybus/tools/loopback_test.c +0 -0
index ba6f905f2..251b05710 100644

drivers/staging/greybus/tools/loopback_test.c static int wait_for_complete(struct loopback_test *t) · line 744

Quoted 7 lines
drivers/staging/greybus/tools/loopback_test.c +0 -1
@@ -739,7 +739,6 @@ static int wait_for_complete(struct loopback_test *t)
 		ts = &t->poll_timeout;
 
 	while (1) {
-
 		ret = ppoll(t->fds, t->poll_count, ts, &mask_old);
 		if (ret <= 0) {
 			stop_tests(t);

Johan