diff options
author | Takashi Iwai <tiwai@suse.de> | 2012-09-21 08:01:19 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-11-28 02:47:32 -0500 |
commit | cdc83c59e59d57b250be46c4b9d31e3b2b5ae589 (patch) | |
tree | 932ac58f561883953f361f8cf8f8cdf6dfc3f245 /sound/pci/hda | |
parent | 063bca096829e2fdfc2bde7b6b2a7453bf9b7218 (diff) |
ALSA: hda - Remove superfluous zero-clear memset in patch_ca0132.c
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda')
-rw-r--r-- | sound/pci/hda/patch_ca0132.c | 1 |
1 files changed, 0 insertions, 1 deletions
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, | |||
1962 | dma_engine = kzalloc(sizeof(*dma_engine), GFP_KERNEL); | 1962 | dma_engine = kzalloc(sizeof(*dma_engine), GFP_KERNEL); |
1963 | if (!dma_engine) | 1963 | if (!dma_engine) |
1964 | return -ENOMEM; | 1964 | return -ENOMEM; |
1965 | memset((void *)dma_engine, 0, sizeof(*dma_engine)); | ||
1966 | 1965 | ||
1967 | dma_engine->dmab = kzalloc(sizeof(*dma_engine->dmab), GFP_KERNEL); | 1966 | dma_engine->dmab = kzalloc(sizeof(*dma_engine->dmab), GFP_KERNEL); |
1968 | if (!dma_engine->dmab) { | 1967 | if (!dma_engine->dmab) { |