]> git.karo-electronics.de Git - linux-beck.git/commit
s390/pci_dma: remove memset from dma_alloc
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Thu, 8 Sep 2016 11:37:09 +0000 (13:37 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 17 Nov 2016 06:10:14 +0000 (07:10 +0100)
commita95aeb2ff4a99dded0cfa4bec4ee61aaeb8b5109
treee82d81415a6a995a346573df7bc3a420682001d7
parent4f5359e94bbfbe349fd1ae00516dfe749d53fe22
s390/pci_dma: remove memset from dma_alloc

Get rid of a useless memset from dma_alloc. Users of dma_alloc who want
zero initialized memory can get it by specifying __GFP_ZERO or use one
of the zalloc variants.

Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Reviewed-by: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/pci/pci_dma.c