Julia Lawall 08d9e7363b drivers/misc/iwmc3200top/main.c: eliminate useless code
The variable priv 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>
Cc: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-03-06 11:26:32 -08:00
..
2009-12-14 21:17:26 +01:00
2008-10-30 11:38:46 -07:00
2009-12-11 11:24:51 -08:00
2009-12-14 21:17:26 +01:00
2009-12-15 08:53:27 -08:00
2009-05-06 16:36:10 -07:00
2010-03-06 11:26:28 -08:00
2009-09-23 07:39:27 -07:00
2009-12-15 08:53:28 -08:00