scsi: qedf: Use 'dma_zalloc_coherent' to reduce code verbosity.
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sun, 11 Jun 2017 06:16:03 +0000 (08:16 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 13 Jun 2017 01:21:22 +0000 (21:21 -0400)
commitc4d6ffc8465f4225e79ee58275fa1a61def991cc
tree0c42de296c9344bb67dc807e1cb96ad7da6884d4
parent3a240b21b5ccb77fcbece7a617f333cd31097776
scsi: qedf: Use 'dma_zalloc_coherent' to reduce code verbosity.

Replace some 'dma_alloc_coherent+memset' by some quivalent
'dma_zalloc_coherent' in order to reduce code verbosity

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Acked-by: Chad Dupuis <chad.dupuis@cavium.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qedf/qedf_main.c