net: ixp4xx_hss: use dma_pool_zalloc
authorJason Wang <wangborong@cdjrlc.com>
Sun, 25 Jul 2021 14:42:21 +0000 (22:42 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 26 Jul 2021 13:17:55 +0000 (14:17 +0100)
commitaf996031e1545c47423dfdd024840702ceb5a26c
tree56f05f0c28b78ad84416479217de636840911313
parent9d32e4e7e9e11b1dd0ed0d6c294258879ac4d1af
net: ixp4xx_hss: use dma_pool_zalloc

The dma_pool_zalloc combines dma_pool_alloc/memset. Therefore, the
dma_pool_alloc/memset can be replaced with dma_pool_zalloc which is
more compact.

Signed-off-by: Jason Wang <wangborong@cdjrlc.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wan/ixp4xx_hss.c