diff options
Diffstat (limited to 'sound/synth/util_mem.c')
-rw-r--r-- | sound/synth/util_mem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/synth/util_mem.c b/sound/synth/util_mem.c index 8b131a11e549..5f75bf31bc36 100644 --- a/sound/synth/util_mem.c +++ b/sound/synth/util_mem.c | |||
@@ -38,7 +38,7 @@ snd_util_memhdr_new(int memsize) | |||
38 | { | 38 | { |
39 | snd_util_memhdr_t *hdr; | 39 | snd_util_memhdr_t *hdr; |
40 | 40 | ||
41 | hdr = kcalloc(1, sizeof(*hdr), GFP_KERNEL); | 41 | hdr = kzalloc(sizeof(*hdr), GFP_KERNEL); |
42 | if (hdr == NULL) | 42 | if (hdr == NULL) |
43 | return NULL; | 43 | return NULL; |
44 | hdr->size = memsize; | 44 | hdr->size = memsize; |