summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authoryan <clouds.yan@gmail.com>2012-10-05 02:15:43 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2012-10-05 20:05:18 +0200
commit17baa2a2c40f2f0330d25819b589a515d36b2d40 (patch)
treee274bf5906900080e0975ea2196adcf70641f7e1 /usr
parentproc: no need to initialize proc_inode->fd in proc_get_inode() (diff)
downloadlinux-17baa2a2c40f2f0330d25819b589a515d36b2d40.tar.xz
linux-17baa2a2c40f2f0330d25819b589a515d36b2d40.zip
proc: use kzalloc instead of kmalloc and memset
Part of the memory will be written twice after this change, but that should be negligible. [akpm@linux-foundation.org: fix __proc_create() coding-style issues, remove unneeded zero-initialisations] Signed-off-by: yan <clouds.yan@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions