Alan Stern a120586873 [PATCH] Allow NULL pointers in percpu_free
The patch (as824b) makes percpu_free() ignore NULL arguments, as one would
expect for a deallocation routine.  (Note that free_percpu is #defined as
percpu_free in include/linux/percpu.h.) A few callers are updated to remove
now-unneeded tests for NULL.  A few other callers already seem to assume
that passing a NULL pointer to percpu_free() is okay!

The patch also removes an unnecessary NULL check in percpu_depopulate().

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-12-07 08:39:22 -08:00
..
2006-12-02 21:23:58 -08:00
2006-12-02 21:23:58 -08:00
2006-12-02 21:22:52 -08:00
2006-12-02 21:22:52 -08:00
2006-12-02 21:23:58 -08:00
2006-12-02 21:22:52 -08:00
2006-12-02 21:22:52 -08:00
2005-04-16 15:20:36 -07:00
2006-12-02 21:31:51 -08:00
2006-10-04 00:31:09 -07:00