net: mediatek: use dma_zalloc_coherent instead of allocator/memset
authorYueHaibing <yuehaibing@huawei.com>
Mon, 23 Jul 2018 03:16:47 +0000 (11:16 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 23 Jul 2018 03:51:40 +0000 (20:51 -0700)
commit0a78c3803d1924845ded22a379b66f897ba647a3
tree52673919d92036082650845dfaf2fed2c1973964
parent07300f774fec9519663a597987a4083225588be4
net: mediatek: use dma_zalloc_coherent instead of allocator/memset

Use dma_zalloc_coherent instead of dma_alloc_coherent
followed by memset 0.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mediatek/mtk_eth_soc.c