aboutsummaryrefslogtreecommitdiffstats
path: root/init/do_mounts_initrd.c
diff options
context:
space:
mode:
authorMatt Helsley <matthltc@us.ibm.com>2006-10-02 02:18:25 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2006-10-02 07:57:22 -0700
commit2453a3062d36f39f01302f9f1ad18e7a0c54fe38 (patch)
treef684fbca3edfdcaeca3618a0c518bcf39418c9fc /init/do_mounts_initrd.c
parent5d124e99c2fee1c8f3020ecb0dff8d5617ee7991 (diff)
downloadmrst-s0i3-test-2453a3062d36f39f01302f9f1ad18e7a0c54fe38.tar.gz
mrst-s0i3-test-2453a3062d36f39f01302f9f1ad18e7a0c54fe38.tar.xz
mrst-s0i3-test-2453a3062d36f39f01302f9f1ad18e7a0c54fe38.zip
[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 <matthltc@us.ibm.com> Cc: Jes Sorensen <jes@sgi.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'init/do_mounts_initrd.c')
0 files changed, 0 insertions, 0 deletions