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


Groups > linux.kernel > #1416451

Re: [PATCH v2] staging: lustre: lustre: obdclass: Modify return statement

From Greg KH <gregkh@linuxfoundation.org>
Newsgroups linux.kernel
Subject Re: [PATCH v2] staging: lustre: lustre: obdclass: Modify return statement
Date 2016-06-07 19:40 +0200
Message-ID <rHt8S-5BX-27@gated-at.bofh.it> (permalink)
References <rHsFP-5sl-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Jun 07, 2016 at 10:34:01PM +0530, Anchal Jain wrote:
> Modify the return statement.
> The Coccinelle semantic patch used to make this change is as follows:
> 
> @@
> expression e, ret;
> @@
> 
> -ret =
> +return
>         e;
> -return ret;
> 
> Delete the declaration of the return variable rc, as it is no longer used.
> 
> 
> Signed-off-by: Anchal Jain <anchalj109@gmail.com>
> ---
> changes in v2
> 	--add public cc with patch

Please use scripts/get_maintainer.pl to determine who and what lists
to send patches to (hint, lkml is almost never the correct list to
_only_ send patches to.)

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH v2] staging: lustre: lustre: obdclass: Modify return statement Anchal Jain <anchalj109@gmail.com> - 2016-06-07 19:10 +0200
  Re: [PATCH v2] staging: lustre: lustre: obdclass: Modify return  statement Greg KH <gregkh@linuxfoundation.org> - 2016-06-07 19:40 +0200

csiph-web