]> 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)
commit19ac637255df1d8eaf1a922e07d5664b3a4b2816
tree247e55e106a22b9815b4edb21beb3dd6050e5106
parent0e63df2d0d54b39e7363398ea63d214be3dfe228
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