]> err.no Git - linux-2.6/blobdiff - sound/pci/ali5451/ali5451.c
[PATCH] ALSA: convert kcalloc to kzalloc
[linux-2.6] / sound / pci / ali5451 / ali5451.c
index ce6c9fadb5948b57c185dbf44d91e783bb969de0..4943299cf137dce8ab4bcb369ad9813ad0660173 100644 (file)
@@ -2249,7 +2249,7 @@ static int __devinit snd_ali_create(snd_card_t * card,
                return -ENXIO;
        }
 
-       if ((codec = kcalloc(1, sizeof(*codec), GFP_KERNEL)) == NULL) {
+       if ((codec = kzalloc(sizeof(*codec), GFP_KERNEL)) == NULL) {
                pci_disable_device(pci);
                return -ENOMEM;
        }