]> git.baikalelectronics.ru Git - kernel.git/commit
net: broadcom: bcm4908_enet: drop unneeded memset()
authorRafał Miłecki <rafal@milecki.pl>
Thu, 11 Feb 2021 12:12:35 +0000 (13:12 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Feb 2021 23:04:17 +0000 (15:04 -0800)
commit9022e8cab24a4081e2b4801ac70f494b0515b645
treea917027272e6ec3085265394cb74cd9c7a554df0
parent0841f95b623212e7e4f252f7ef239739ffb81ee6
net: broadcom: bcm4908_enet: drop unneeded memset()

dma_alloc_coherent takes care of zeroing allocated memory

Suggested-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bcm4908_enet.c