]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - sound/isa/sb/sb_common.c
[ALSA] Replace with kzalloc() - isa stuff
[linux-2.6-omap-h63xx.git] / sound / isa / sb / sb_common.c
index 5b6bde213ea0052b9a49a418810b46b9b3c91cdb..f0f205ae425fec52b29d0460243983c4f8f7bf40 100644 (file)
@@ -221,7 +221,7 @@ int snd_sbdsp_create(snd_card_t *card,
 
        snd_assert(r_chip != NULL, return -EINVAL);
        *r_chip = NULL;
-       chip = kcalloc(1, sizeof(*chip), GFP_KERNEL);
+       chip = kzalloc(sizeof(*chip), GFP_KERNEL);
        if (chip == NULL)
                return -ENOMEM;
        spin_lock_init(&chip->reg_lock);