]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/usb/host/xhci-dbgcap.c
usb: host: Remove call to memset after dma_alloc_coherent
[linux.git] / drivers / usb / host / xhci-dbgcap.c
index 52e32644a4b2fb4ea25a8d7270d883726ced2b94..93e2cca5262d16ffbdc7c96586cff3d1eb397924 100644 (file)
@@ -22,7 +22,6 @@ dbc_dma_alloc_coherent(struct xhci_hcd *xhci, size_t size,
 
        vaddr = dma_alloc_coherent(xhci_to_hcd(xhci)->self.sysdev,
                                   size, dma_handle, flags);
-       memset(vaddr, 0, size);
        return vaddr;
 }