staging: bcm2835-audio: don't initialize memory twice
authorNicolas Saenz Julienne <nsaenzjulienne@suse.de>
Wed, 17 Oct 2018 19:01:51 +0000 (21:01 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 7 Nov 2018 11:38:15 +0000 (12:38 +0100)
commit588e7ac5b1cbcb4bda5d26c0757c0a52d5f43bfd
tree00a00424c266541d70775da9b1e58fc5a79d0de7
parentaa1b40c6eea8d58047d2d3f76e4ac27365df2f8d
staging: bcm2835-audio: don't initialize memory twice

The memory is being allocated with devres_alloc(), wich ultimately uses
__GFP_ZERO to call kmalloc. We don't need to zero the memory area again
in bcm2835-audio.

Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
Reviewed-by: Takashi Iwai <tiwai@suse.de>
Acked-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/bcm2835-audio/bcm2835.c