From: Julia Lawall Date: Sat, 16 Jan 2010 16:00:26 +0000 (+0100) Subject: ecryptfs: Eliminate useless code X-Git-Tag: v2.6.33-rc5~10^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4aa25bcb7dac2d583f1557e2be2d0b598581da54;p=pandora-kernel.git ecryptfs: Eliminate useless code The variable lower_dentry 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/) // @forall@ idexpression *x; identifier f!=ERR_PTR; @@ x = f(...) ... when != x ( x = f(...,<+...x...+>,...) | * x = f(...) ) // Signed-off-by: Julia Lawall Signed-off-by: Tyler Hicks --- Reading git-diff-tree failed