aboutsummaryrefslogtreecommitdiff
path: root/net/ipv4
diff options
context:
space:
mode:
authorJulia Lawall <julia@diku.dk>2010-01-16 16:59:51 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2010-03-02 14:54:34 -0800
commita45a1e07aa5e4d3dc952c264f87184c5ac8c0a62 (patch)
treecd4113243e7a16574176b3c5543609ebea82340b /net/ipv4
parentaa7907407adf1358ee39be0e98beaf4c129a78d6 (diff)
USB: serial: Eliminate useless code
The variables priv and portdata are initialized twice to the same (side effect-free) expressions. Drop one initialization in each case. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'net/ipv4')
0 files changed, 0 insertions, 0 deletions