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)
commit9339faac6d206544601b939321059f60ba96a18d
tree247e55e106a22b9815b4edb21beb3dd6050e5106
parentb2d229d4ddb17db541098b83524d901257e93845
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