From: Matt Helsley Date: Mon, 2 Oct 2006 09:18:25 +0000 (-0700) Subject: [PATCH] ipc: replace kmalloc and memset in get_undo_list with kzalloc X-Git-Tag: v2.6.19-rc1~399 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2453a3062d36f39f01302f9f1ad18e7a0c54fe38;p=pandora-kernel.git [PATCH] ipc: replace kmalloc and memset in get_undo_list with kzalloc Simplify get_undo_list() by dropping the unnecessary cast, removing the size variable, and switching to kzalloc() instead of a kmalloc() followed by a memset(). This cleanup was split then modified from Jes Sorenson's Task Notifiers patches. Signed-off-by: Matt Helsley Cc: Jes Sorensen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed