diff options
| author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2020-07-16 22:52:42 +0200 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2020-07-17 12:57:59 -0700 |
| commit | 721dab2b56535b06f9d5756cf27d875623cb5a60 (patch) | |
| tree | b8ab396092fd6adcefe27b0d8bd4d6f74c68c34a /tools/perf/scripts/python | |
| parent | net: alteon: switch from 'pci_' to 'dma_' API (diff) | |
| download | linux-721dab2b56535b06f9d5756cf27d875623cb5a60.tar.gz linux-721dab2b56535b06f9d5756cf27d875623cb5a60.zip | |
net: alteon: Avoid some useless memset
Avoid a memset after a call to 'dma_alloc_coherent()'.
This is useless since
commit 518a2f1925c3 ("dma-mapping: zero memory returned from dma_alloc_*")
Replace a kmalloc+memset with a corresponding kzalloc.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
