diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2014-11-30 19:14:12 +0100 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2014-12-01 21:36:22 -0800 |
commit | 13ba564c956d8584d661aeb6ff7c9fa161b84f12 (patch) | |
tree | b6142b06301c5000cad8f1b7f253d895c0d4d2ee /drivers/w1 | |
parent | 7f2c53bb9512bd6c6c55ce0eed27f5c5da8b7ec2 (diff) |
target: remove unneeded array
Delete a local array 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;
type T;
@@
{
... when any
-T x[...];
<+... when != x
- memset(x,...);
...+>
}
// </smpl>
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/w1')
0 files changed, 0 insertions, 0 deletions