ALSA: hda - Remove superfluous zero-clear memset in patch_ca0132.c
authorTakashi Iwai <tiwai@suse.de>
Fri, 21 Sep 2012 12:01:19 +0000 (14:01 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 28 Nov 2012 07:47:32 +0000 (08:47 +0100)
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_ca0132.c

index 03f57c98b54e59a922c8fde4c468bdcb00145004..2fd3121afb107359387ed47437fe79327b779172 100644 (file)
@@ -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) {
This page took 0.02761 seconds and 5 git commands to generate.