Skip to contentSkip to conversation

staging: greybus: loopback_test: remove multiple blank lines

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

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: greybus: loopback_test: remove multiple blank lines

Fix following checkpath warnings in multiple lines:
CHECK: Please don't use multiple blank lines

---
 drivers/staging/greybus/tools/loopback_test.c | 3 ---
 1 file changed, 3 deletions(-)
drivers/staging/greybus/tools/loopback_test.c +0 -3
index ba6f905f26fa..1e78c148d7cb 100644
@@ -779,7 +779,6 @@ static void prepare_devices(struct loopback_test *t)
 		if (t->stop_all || device_enabled(t, i))
 			write_sysfs_val(t->devices[i].sysfs_entry, "type", 0);
 
-
 	for (i = 0; i < t->device_count; i++) {
 		if (!device_enabled(t, i))
 			continue;
@@ -850,7 +849,6 @@ void loopback_run(struct loopback_test *t)
 	if (ret)
 		goto err;
 
-
 	get_results(t);
 
 	log_results(t);
@@ -882,7 +880,6 @@ static int sanity_check(struct loopback_test *t)
 
 	}
 
-
 	return 0;
 }
 
Signature · 1 line
2.20.1
maintainer
#1 lore raw
Quoted 2 lines · Pedro Chinen

Fix following checkpath warnings in multiple lines:
CHECK: Please don't use multiple blank lines

Checkpatch reports five instances of this CHECK, please fix them all in one go.

Quoted 26 lines
---
 drivers/staging/greybus/tools/loopback_test.c | 3 ---
 1 file changed, 3 deletions(-)
drivers/staging/greybus/tools/loopback_test.c +0 -2
index ba6f905f26fa..1e78c148d7cb 100644
@@ -779,7 +779,6 @@ static void prepare_devices(struct loopback_test *t)
 		if (t->stop_all || device_enabled(t, i))
 			write_sysfs_val(t->devices[i].sysfs_entry, "type", 0);
 
-
 	for (i = 0; i < t->device_count; i++) {
 		if (!device_enabled(t, i))
 			continue;
@@ -850,7 +849,6 @@ void loopback_run(struct loopback_test *t)
 	if (ret)
 		goto err;
 
-
 	get_results(t);
 
 	log_results(t);

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

Quoted 6 lines
drivers/staging/greybus/tools/loopback_test.c +0 -1
@@ -882,7 +880,6 @@ static int sanity_check(struct loopback_test *t)
 
 	}
 
-
 	return 0;
 }

Johan