Files
linux/net
Julia Lawall 09cb47a2c6 net/sctp: Eliminate useless code
The variable newinet is initialized twice to the same (side effect-free)
expression.  Drop one initialization.

A simplified version of the semantic match that finds this problem is:
(http://coccinelle.lip6.fr/)

// <smpl>
@forall@
idexpression *x;
identifier f!=ERR_PTR;
@@

x = f(...)
... when != x
(
x = f(...,<+...x...+>,...)
|
* x = f(...)
)
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Acked-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-01-21 02:43:20 -08:00
..
2009-12-16 12:16:41 -05:00
2010-01-17 19:16:02 -08:00
2010-01-17 19:16:02 -08:00
2010-01-21 01:26:29 -08:00
2010-01-17 19:16:02 -08:00
2009-11-25 15:14:13 -08:00
2009-12-26 20:38:23 -08:00
2010-01-17 19:16:02 -08:00
2010-01-10 13:27:58 -08:00
2009-12-15 08:53:25 -08:00
2010-01-17 19:16:02 -08:00
2010-01-17 19:16:02 -08:00
2010-01-17 19:16:02 -08:00
2009-11-25 15:14:13 -08:00
2010-01-21 02:43:20 -08:00
2010-01-19 14:23:57 -08:00
2010-01-17 19:16:02 -08:00
2009-07-12 12:22:34 -07:00
2010-01-17 19:16:02 -08:00
2009-12-17 10:51:40 -05:00