Tag: aff4b9743225d1c8a4cfa51b186bc3ad789dc8f9

wimax/i2400m: make return of 0 explicit

Author: Julia Lawall <Julia.Lawall@lip6.fr> Delete unnecessary local variable whose value is always 0 and that hides the fact that the result is always 0. A simplified version of the semantic patch that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // @r exists@ local idexpression ret; expression e; position p; @@ -ret = 0; … when …

Continue reading