Commit 58f8dd6c authored by Nicolas Saenz Julienne's avatar Nicolas Saenz Julienne Committed by popcornmix
Browse files

staging: bcm2835-audio: don't initialize memory twice



commit 2e5f59fb77397cab3bc3d156e8be4164a67d32ef upstream.

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: default avatarNicolas Saenz Julienne <nsaenzjulienne@suse.de>
Reviewed-by: default avatarTakashi Iwai <tiwai@suse.de>
Acked-by: default avatarStefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 2117f2d8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment