git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a005d5
)
staging: unisys: remove unneeded structure
author
Julia Lawall
<Julia.Lawall@lip6.fr>
Sun, 30 Nov 2014 18:14:14 +0000
(19:14 +0100)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 3 Dec 2014 00:50:08 +0000
(16:50 -0800)
Delete a local structure that is only used to be initialized by memset.
A semantic patch that makes this change is as follows:
(http://coccinelle.lip6.fr/)
// <smpl>
@@
identifier x,i;
@@
{
... when any
-struct i x;
<+... when != x
- memset(&x,...);
...+>
}
// </smpl>
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
No differences found