Re: [PATCH 4/13 v2] wimax/i2400m: make return of 0 explicit

2014-05-21 Thread David Miller
From: Julia Lawall Date: Tue, 20 May 2014 08:44:49 +0800 (SGT) > From: Julia Lawall > > 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

[PATCH 4/13 v2] wimax/i2400m: make return of 0 explicit

2014-05-19 Thread Julia Lawall
From: Julia Lawall 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; p