1
0
Files
linux/drivers/staging
Julia Lawall 26e2fa765c staging: rtl8192e: make return of 0 explicit
Delete unnecessary use of a local variable to immediately return 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 02:14:30 +09: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-18 10:03:32 -07:00
2014-05-23 20:46:41 +09:00
2014-05-23 20:46:41 +09:00