Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1192656 > unrolled thread

Re: [PATCH] Staging:dgap :Compression of lines for immediate return

Started bySudip Mukherjee <sudipm.mukherjee@gmail.com>
First post2015-07-27 06:40 +0200
Last post2015-07-27 06:40 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] Staging:dgap :Compression of lines for immediate return Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2015-07-27 06:40 +0200

#1192656 — Re: [PATCH] Staging:dgap :Compression of lines for immediate return

FromSudip Mukherjee <sudipm.mukherjee@gmail.com>
Date2015-07-27 06:40 +0200
SubjectRe: [PATCH] Staging:dgap :Compression of lines for immediate return
Message-ID<pQImJ-7Lu-9@gated-at.bofh.it>
On Sun, Jul 26, 2015 at 11:04:13PM +0530, Shraddha Barke wrote:
> This patch compresses two lines into a single line if immediate return statement
> is found. Also,remove variable rc as it is no longer needed.
> It is done using tool Coccinelle. And semantic patch used for this is as follows:
> 
> @@
> expression ret;
> identifier f;
> @@
> 
> -ret =
> +return
>      f(...);
> -return ret;
> ---
Missed the Signed-off-by: here also, and always add the maintainers in
your To: list.

regards
sudip
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web