lkml.org 
[lkml]   [2019]   [Sep]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [PATCH] staging: greybus: loopback_test: remove multiple blank lines
On Wed, Sep 04, 2019 at 09:05:47PM +0000, Pedro Chinen wrote:
> 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.

> Signed-off-by: Pedro Chinen <ph.u.chinen@gmail.com>
> ---
> drivers/staging/greybus/tools/loopback_test.c | 3 ---
> 1 file changed, 3 deletions(-)
>
> diff --git a/drivers/staging/greybus/tools/loopback_test.c b/drivers/staging/greybus/tools/loopback_test.c
> index ba6f905f26fa..1e78c148d7cb 100644
> --- a/drivers/staging/greybus/tools/loopback_test.c
> +++ b/drivers/staging/greybus/tools/loopback_test.c
> @@ -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;
> }

Johan

\
 
 \ /
  Last update: 2019-09-05 09:27    [W:0.040 / U:0.796 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site