[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160821145727.GB24541@kroah.com>
Date: Sun, 21 Aug 2016 16:57:27 +0200
From: Greg KH <gregkh@...uxfoundation.org>
To: Nadim almas <nadim.902@...il.com>
Cc: abbotti@....co.uk, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/1] Staging: comedi: cd_pcidas64.c: Compression of
On Tue, Aug 02, 2016 at 11:16:04AM -0700, Nadim almas wrote:
> This patch compresses two lines in to a single line in file
> cb_pcidas64.c
> if immediate return statement is found.
>
> It is done using script Coccinelle. And coccinelle uses following
> semantic patch for this compression function:
>
> @@
> expression e, ret;
> @@
>
> -ret =
> +return
> e;
> -return ret
>
> Signed-off-by: Nadim Almas <nadim.902@...il.com>
> ---
>
> drivers/staging/comedi/drivers/cb_pcidas64.c | 4 +---
> 1 files changed, 1 insertions(+), 3 deletions(-)
>
Subject is still quite odd :(
Powered by blists - more mailing lists