All of lore.kernel.org
 help / color / mirror / Atom feed
From: Amitoj Kaur Chawla <amitoj1606@gmail.com>
To: outreachy-kernel@googlegroups.com
Subject: [PATCH 0/5] staging: Remove useless intialisation
Date: Thu, 15 Oct 2015 02:24:44 +0530	[thread overview]
Message-ID: <cover.1444855933.git.amitoj1606@gmail.com> (raw)

This patchset removes multiple useless intialisations of variables
which are immediately reassigned.

The semantic patch used to find this is:

// <smpl>
@@
type T;
identifier x;
constant C;
expression e;
@@

T x
- = C
 ;
x = e;
// </smpl>


Amitoj Kaur Chawla (5):
  staging: unisys: Remove useless intialisation
  staging: speakup: speakup_audptr: Remove useless intialisation
  staging: speakup: varhandlers: Remove useless intialisation
  staging: rtl8712: rtl8712_recv: Remove useless intialisation
  staging: rtl8712: rtl871x_mp: Remove useless initialisation

 drivers/staging/rtl8712/rtl8712_recv.c         | 2 +-
 drivers/staging/rtl8712/rtl871x_mp.c           | 6 +++---
 drivers/staging/speakup/speakup_audptr.c       | 2 +-
 drivers/staging/speakup/varhandlers.c          | 2 +-
 drivers/staging/unisys/visorinput/visorinput.c | 2 +-
 5 files changed, 7 insertions(+), 7 deletions(-)

-- 
1.9.1



             reply	other threads:[~2015-10-14 20:54 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-14 20:54 Amitoj Kaur Chawla [this message]
2015-10-14 20:56 ` [PATCH 1/5] staging: unisys: Remove useless intialisation Amitoj Kaur Chawla
2015-10-14 20:57 ` [PATCH 2/5] staging: speakup: speakup_audptr: " Amitoj Kaur Chawla
2015-10-14 20:58 ` [PATCH 3/5] staging: speakup: varhandlers: " Amitoj Kaur Chawla
2015-10-14 20:59 ` [PATCH 4/5] staging: rtl8712: rtl8712_recv: " Amitoj Kaur Chawla
2015-10-14 21:01 ` [PATCH 5/5] staging: rtl8712: rtl871x_mp: Remove useless initialisation Amitoj Kaur Chawla
2015-10-14 21:21   ` [Outreachy kernel] " Julia Lawall
2015-10-15  6:35   ` [Outreachy kernel] [PATCH v2 " 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.1444855933.git.amitoj1606@gmail.com \
    --to=amitoj1606@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.