]> git.baikalelectronics.ru Git - kernel.git/commit
net: spider_net: Remove a useless memset
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sun, 2 Aug 2020 13:53:48 +0000 (15:53 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Aug 2020 23:01:11 +0000 (16:01 -0700)
commit25811224a1b253b514ccc4f9c3d119a2454b5540
treed02da34a87d704b93d431533cc18df9c3a0bbae2
parent7e395b0319bf52fcdfc5daccb62e2ebdf6070ce6
net: spider_net: Remove a useless memset

Avoid a memset after a call to 'dma_alloc_coherent()'.
This is useless since
commit 178cbc5f6e72 ("dma-mapping: zero memory returned from dma_alloc_*")

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/toshiba/spider_net.c