usbip: remove unneeded structure
authorJulia Lawall <Julia.Lawall@lip6.fr>
Sun, 30 Nov 2014 18:14:15 +0000 (19:14 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Dec 2014 00:15:02 +0000 (16:15 -0800)
commitb19e5f04cd628c012c26a025cf93da5233df134d
treea6fb8d53388614b0dc8c3a92f64d9a03897b0e3e
parente1fd1dc831fa0e1a4c090d0fc018ccce77569236
usbip: remove unneeded structure

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