]> 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)
commitc9e5cc49c4e431e5712c7222f30f10bf49714198
treed02da34a87d704b93d431533cc18df9c3a0bbae2
parent7cbeb94a3a31b914aa57bdaf420f9b7f81d29ced
net: spider_net: Remove a useless memset

Avoid a memset after a call to 'dma_alloc_coherent()'.
This is useless since
commit 00f1c0702d66 ("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