]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
sctp: remove the repeat initialize with 0
authorwangweidong <wangweidong1@huawei.com>
Sat, 26 Oct 2013 08:06:31 +0000 (16:06 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Oct 2013 05:02:34 +0000 (01:02 -0400)
commit3dc0a548a096c67e91ef3d8f6ca39466058b1725
tree74b108a7790bc3f0de52cf9a2e51f3ddf93b8d33
parent2bccbadf2058b2453ea5f94bdee8b793f8e9331d
sctp: remove the repeat initialize with 0

kmem_cache_zalloc had set the allocated memory to zero. I think no need
to initialize with 0. And move the comments to the function begin.

Acked-by: Vlad Yasevich <vyasevich@gmail.com>
Signed-off-by: Wang Weidong <wangweidong1@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/sm_make_chunk.c