From: Sandhya Bankar <bankarsandhya512@gmail.com>
To: outreachy-kernel@googlegroups.com
Subject: [PATCH 0/5] Staging: Remove unnecessary goto.
Date: Mon, 29 Feb 2016 16:38:53 +0530 [thread overview]
Message-ID: <cover.1456743650.git.bankarsandhya512@gmail.com> (raw)
Remove unnecessary goto.
Semantic patch:
@r@
expression ret;
identifier f,l;
statement S;
position p;
@@
(
if (<+...f(...)...+>) S
|
if@p (...) return ret;
return ret;
|
if@p (...) goto l;
l:
return ret;
)
Sandhya Bankar (5):
Staging: media: Remove Unnecessary goto.
Staging: iio: ade7854: Remove unnecessary goto.
Staging: iio: ade7758_core: Remove unnecessary goto.
Staging: iio: ade7754: Remove unnecessary goto.
Staging: gdm72xx: Remove unnecessary goto.
drivers/staging/gdm72xx/usb_boot.c | 3 +--
drivers/staging/iio/meter/ade7754.c | 2 --
drivers/staging/iio/meter/ade7758_core.c | 2 --
drivers/staging/iio/meter/ade7854.c | 2 --
drivers/staging/media/bcm2048/radio-bcm2048.c | 2 --
5 files changed, 1 insertion(+), 10 deletions(-)
--
1.8.3.4
next reply other threads:[~2016-02-29 19:08 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-29 11:08 Sandhya Bankar [this message]
2016-02-29 11:11 ` [PATCH 1/5] Staging: media: Remove Unnecessary goto Sandhya Bankar
2016-03-01 11:37 ` [Outreachy kernel] " Daniel Baluta
2016-02-29 11:16 ` [PATCH 2/5] Staging: iio: ade7854: Remove unnecessary goto Sandhya Bankar
2016-03-01 11:35 ` [Outreachy kernel] " Daniel Baluta
2016-02-29 11:23 ` [PATCH 3/5] Staging: iio: ade7758_core: " Sandhya Bankar
2016-03-01 11:33 ` [Outreachy kernel] " Daniel Baluta
2016-02-29 11:26 ` [PATCH 4/5] Staging: iio: ade7754: " Sandhya Bankar
2016-03-01 11:36 ` [Outreachy kernel] " Daniel Baluta
2016-02-29 11:27 ` [PATCH 5/5] Staging: gdm72xx: " Sandhya Bankar
2016-02-29 19:11 ` [Outreachy kernel] [PATCH 0/5] Staging: " Julia Lawall
2016-02-29 19:30 ` sandhya bankar
2016-02-29 21:35 ` Julia Lawall
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1456743650.git.bankarsandhya512@gmail.com \
--to=bankarsandhya512@gmail.com \
--cc=outreachy-kernel@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.