From: Takashi Iwai Date: Fri, 21 Sep 2012 12:01:19 +0000 (+0200) Subject: ALSA: hda - Remove superfluous zero-clear memset in patch_ca0132.c X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=cdc83c59e59d57b250be46c4b9d31e3b2b5ae589;p=deliverable%2Flinux.git ALSA: hda - Remove superfluous zero-clear memset in patch_ca0132.c Signed-off-by: Takashi Iwai --- diff --git a/sound/pci/hda/patch_ca0132.c b/sound/pci/hda/patch_ca0132.c index 03f57c98b54e..2fd3121afb10 100644 --- a/sound/pci/hda/patch_ca0132.c +++ b/sound/pci/hda/patch_ca0132.c @@ -1962,7 +1962,6 @@ static int dspxfr_image(struct hda_codec *codec, dma_engine = kzalloc(sizeof(*dma_engine), GFP_KERNEL); if (!dma_engine) return -ENOMEM; - memset((void *)dma_engine, 0, sizeof(*dma_engine)); dma_engine->dmab = kzalloc(sizeof(*dma_engine->dmab), GFP_KERNEL); if (!dma_engine->dmab) {