Browse Source

ALSA: hda - Remove superfluous zero-clear memset in patch_ca0132.c

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Takashi Iwai 12 years ago
parent
commit
cdc83c59e5
1 changed files with 0 additions and 1 deletions
  1. 0 1
      sound/pci/hda/patch_ca0132.c

+ 0 - 1
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) {