OSDN Git Service

misc: hpilo: avoid a useless memset
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sat, 18 Jul 2020 07:02:46 +0000 (09:02 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Jul 2020 10:56:49 +0000 (12:56 +0200)
commit21ee9b1995fc01510352d4a55c5316283293b020
tree59f8f80f89fb80a61612ea71beda7ac5fadd879b
parent146f90afed258b409104aa6ecc421b823ea1b406
misc: hpilo: avoid a 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_*")

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/20200718070246.338016-1-christophe.jaillet@wanadoo.fr
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/hpilo.c