Skip to content

Commit

Permalink
ALSA: hda - Remove superfluous zero-clear memset in patch_ca0132.c
Browse files Browse the repository at this point in the history
Signed-off-by: Takashi Iwai <tiwai@suse.de>
  • Loading branch information
Takashi Iwai committed Nov 28, 2012
1 parent 063bca0 commit cdc83c5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion sound/pci/hda/patch_ca0132.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit cdc83c5

Please sign in to comment.