aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorJulia Lawall <[email protected]>2010-03-11 14:09:55 -0800
committerJames Bottomley <[email protected]>2010-04-11 09:23:32 -0500
commit4644efabde172808c0a8b6e3f17e4c204a4e52e7 (patch)
treebda7fdf7b3d26a738f12f9f15bd423fce82c5f69 /tools/perf/scripts/python/bin
parentf3d6e1dcd291fd0da3accb0d60fbd0d26d2189ed (diff)
[SCSI] bfa: eliminate useless code
The variable bfa_itnim is initialized twice to the same (side effect-free) expression. Drop one initialization. A simplified version of the semantic match that finds this problem is: (http://coccinelle.lip6.fr/) // <smpl> @forall@ idexpression *x; identifier f!=ERR_PTR; @@ x = f(...) ... when != x ( x = f(...,<+...x...+>,...) | * x = f(...) ) // </smpl> Signed-off-by: Julia Lawall <[email protected]> Acked-by: Jing Huang <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions