]> asedeno.scripts.mit.edu Git - linux.git/commit
net-next: mediatek: improve more with using dma_zalloc_coherent
authorSean Wang <sean.wang@mediatek.com>
Sat, 28 Jul 2018 05:35:55 +0000 (13:35 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 29 Jul 2018 20:15:57 +0000 (13:15 -0700)
commit6c21da204a90ceca73096bf1b91c4fdf43308c16
tree60bff5600e325241b1fbc1f22b61e99d6a9681a4
parentd1753390274f7760e5b593cb657ea34f0617e559
net-next: mediatek: improve more with using dma_zalloc_coherent

Improve more in the existing code by reusing dma_zalloc_coherent instead
of dma_alloc_coherent with __GFP_ZERO or superfluous zeroing buffer.

Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mediatek/mtk_eth_soc.c