Messages in this thread | | | Date | Sun, 20 Mar 2005 23:01:13 +0100 (MET) | From | Jan Engelhardt <> | Subject | Re: [PATCH] remove redundant NULL checks before kfree() in drivers/video/ |
| |
>>... > >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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |