From: Julia Lawall Date: Tue, 20 May 2014 00:44:49 +0000 (+0800) Subject: wimax/i2400m: make return of 0 explicit X-Git-Tag: omap-for-v3.16/fixes-against-rc1~36^2~179 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aff4b9743225d1c8a4cfa51b186bc3ad789dc8f9;p=pandora-kernel.git wimax/i2400m: make return of 0 explicit 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 != ret = e return - ret + 0 ; // Signed-off-by: Julia Lawall Signed-off-by: David S. Miller --- Reading git-diff-tree failed