staging: greybus: loopback_test: remove multiple blank lines
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
Signed-off-by Pedro Chinen <[email protected]>
--- drivers/staging/greybus/tools/loopback_test.c | 3 --- 1 file changed, 3 deletions(-)
drivers/staging/greybus/tools/loopback_test.c +0 -3
@@ -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
Johan Hovold
maintainerQuoted 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
Signed-off-by Pedro Chinen <[email protected]>--- drivers/staging/greybus/tools/loopback_test.c | 3 --- 1 file changed, 3 deletions(-)drivers/staging/greybus/tools/loopback_test.c +0
-2@@ -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