All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] staging: Remove useless intialisation
@ 2015-10-14 20:54 Amitoj Kaur Chawla
  2015-10-14 20:56 ` [PATCH 1/5] staging: unisys: " Amitoj Kaur Chawla
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Amitoj Kaur Chawla @ 2015-10-14 20:54 UTC (permalink / raw)
  To: outreachy-kernel

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



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-10-15  6:35 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-14 20:54 [PATCH 0/5] staging: Remove useless intialisation Amitoj Kaur Chawla
2015-10-14 20:56 ` [PATCH 1/5] staging: unisys: " 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

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.