Re: [PATCH] remove redundant NULL checks before kfree() in drivers/video/

From: Jan Engelhardt
Date: Sun Mar 20 2005 - 17:04:07 EST



>>...
>
>This is performance critical, so I would like the check to remain. A comment
>may be added in this section.

Hm, if we used Yoshifuji's inline kfree(), you'd get both. A check and a clean
code. (Though I would not move kfree to __kfree, but make the inline variant
explicitly different named.)



Jan Engelhardt
--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/