提交 cdc83c59 编写于 作者: T Takashi Iwai

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

Signed-off-by: NTakashi Iwai <tiwai@suse.de>
上级 063bca09
......@@ -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) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册