diff options
author | Fuqian Huang <huangfq.daxian@gmail.com> | 2019-07-15 06:20:10 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-07-25 12:10:54 +0300 |
commit | 3114bc89c0217254d3df10a42eab6b6ca00f547c (patch) | |
tree | 2d2ee8f99f913faeba01325f631f09795f5694a5 /drivers/usb/host/xhci-hub.c | |
parent | 6443c671d5cbc60932b31f19f48091cddb2285eb (diff) |
usb: host: Remove call to memset after dma_alloc_coherent
In commit 518a2f1925c3
("dma-mapping: zero memory returned from dma_alloc_*"),
dma_alloc_coherent has already zeroed the memory.
So memset is not needed.
Signed-off-by: Fuqian Huang <huangfq.daxian@gmail.com>
Link: https://lore.kernel.org/r/20190715032010.7258-1-huangfq.daxian@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/xhci-hub.c')
0 files changed, 0 insertions, 0 deletions