The redundant assignment check looks for places that
assign a variable to an equivelent variable. You would
need to check for this anyway as part of writing the
equivelence module.
The equivelence module has other uses as well ...
a = b = kmalloc();
if (!a) {
return -ENOMEM;
}
b->foo = bar;
Right now the dereference check prints a false positive
on those, but the equivelence module would fix that.
I don't have the "redundant code" paper in front of me,
so I forget what other types of things they looked for.
regards,
dan carpenter
-- _______________________________________________ Sign-up for your own FREE Personalized E-mail at Mail.com http://www.mail.com/?sr=signupMeet Singles http://corp.mail.com/lavalife
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/