How we should do such global small cleanups?
Maybe grep the source and bring the list of affected files
to maintainers' attention, letting the to gradually push
changes to Linus...
I suspect "bring the list to maintainers' attention"
will be a trickier part ;)
> But just because you don't seem to have seen any kfree(NULL) in the
> kernel does not mean they are not there. And should a good trend not
> allow to grow?
"if(p) free(p)" => "free(p)" is mostly ok, less code.
But free is called now unconditionally. Make an exception
for performance-critical places where p is almost always 0.
-- vda - 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/