diff options
author | Julia Lawall <julia@diku.dk> | 2010-01-16 17:00:26 +0100 |
---|---|---|
committer | Tyler Hicks <tyhicks@linux.vnet.ibm.com> | 2010-01-19 22:36:05 -0600 |
commit | 4aa25bcb7dac2d583f1557e2be2d0b598581da54 (patch) | |
tree | 6627afceaed30b0897298e83ceb4ecd580eeb9f0 /lib/ts_fsm.c | |
parent | fe0fc013cd8bbd2f4737c1b2694b37dd7fe459cb (diff) |
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/)
// <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: Tyler Hicks <tyhicks@linux.vnet.ibm.com>
Diffstat (limited to 'lib/ts_fsm.c')
0 files changed, 0 insertions, 0 deletions