Files
linux/drivers/staging
Julia Lawall aac22d07bc staging: wlags49_h2: 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/)

// <smpl>
@r exists@
local idexpression ret;
expression e;
position p;
@@

-ret = 0;
... when != ret = e
return
- ret
+ 0
  ;
// </smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-24 01:54:55 +09:00
..
2014-05-16 16:07:03 -07:00
2014-05-22 23:27:17 +09:00
2014-05-23 20:44:43 +09:00
2014-05-23 21:06:30 +09:00
2014-05-23 21:39:28 +09:00
2014-05-15 15:04:45 -07:00
2014-04-22 10:08:40 -07:00
2014-05-15 14:58:19 -07:00
2014-05-18 10:03:32 -07:00
2014-05-23 20:46:41 +09:00
2014-05-23 20:46:41 +09:00