aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorJulia Lawall <[email protected]>2010-10-26 00:25:36 +0000
committerDavid S. Miller <[email protected]>2010-10-27 12:23:20 -0700
commit13c3ab86f27967488b8182a173ebc899c9111bf0 (patch)
tree1bcfa9b90c9226fc04d12d5863c829858dd9466f /tools/perf/util/trace-event-scripting.c
parentd58c0e95622c0de271ae57c083ad25ff4eb032c8 (diff)
drivers/net/typhoon.c: delete double assignment
Delete successive assignments to the same location. The current definition does not initialize the respRing structure, which has the same type as the cmdRing structure, so initialize that one instead. A simplified version of the semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // <smpl> @@ expression i; @@ *i = ...; i = ...; // </smpl> Signed-off-by: Julia Lawall <[email protected]> Acked-by: David Dillow <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions