]> git.baikalelectronics.ru Git - kernel.git/commit
cifs: Use kzalloc instead of kmalloc/memset
authorHaowen Bai <baihaowen@meizu.com>
Mon, 18 Apr 2022 10:26:26 +0000 (18:26 +0800)
committerSteve French <stfrench@microsoft.com>
Mon, 18 Apr 2022 15:22:57 +0000 (10:22 -0500)
commit8245f8ea105d21d3eda466f4e05580fba8f07955
tree247e55e106a22b9815b4edb21beb3dd6050e5106
parent8dd3e26bbbc758feb75d55e38f0ba1ef6979f6d1
cifs: Use kzalloc instead of kmalloc/memset

Use kzalloc rather than duplicating its implementation, which
makes code simple and easy to understand.

Signed-off-by: Haowen Bai <baihaowen@meizu.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/transport.c