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:
e1fd1dc
)
usbip: remove unneeded structure
author
Julia Lawall
<Julia.Lawall@lip6.fr>
Sun, 30 Nov 2014 18:14:15 +0000
(19:14 +0100)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 3 Dec 2014 00:15:02 +0000
(16:15 -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>
Acked-by: Valentina Manea <valentina.manea.m@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tools/usb/usbip/src/usbipd.c
patch
|
blob
|
history
diff --cc
tools/usb/usbip/src/usbipd.c
Simple merge