Tag: 4644efabde172808c0a8b6e3f17e4c204a4e52e7

[SCSI] bfa: eliminate useless code

Author: Julia Lawall <julia@diku.dk> 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/) // @forall@ idexpression *x; identifier f!=ERR_PTR; @@ x = f(…) … when != x ( x = f(…,,…) | * x = f(…) …

Continue reading