diff options
| author | Julia Lawall <[email protected]> | 2014-11-30 18:14:15 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2014-12-03 00:15:02 +0000 |
| commit | b19e5f04cd628c012c26a025cf93da5233df134d (patch) | |
| tree | a6fb8d53388614b0dc8c3a92f64d9a03897b0e3e /drivers/tty/serial/sccnxp.c | |
| parent | usb: xhci: fix comment for PORT_DEV_REMOVE (diff) | |
| download | kernel-b19e5f04cd628c012c26a025cf93da5233df134d.tar.gz kernel-b19e5f04cd628c012c26a025cf93da5233df134d.zip | |
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 <[email protected]>
Acked-by: Valentina Manea <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/tty/serial/sccnxp.c')
0 files changed, 0 insertions, 0 deletions
