]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blobdiff - sound/pci/au88x0/au88x0.c
[ALSA] Replace with kzalloc() - pci stuff
[mirror_ubuntu-eoan-kernel.git] / sound / pci / au88x0 / au88x0.c
index 0e33e0650cf5ea4850653e329ef0ca0bd2b604fa..76b1c30186907b6604451d95db430b50d1e00b26 100644 (file)
@@ -156,7 +156,7 @@ snd_vortex_create(snd_card_t * card, struct pci_dev *pci, vortex_t ** rchip)
        }
        pci_set_dma_mask(pci, VORTEX_DMA_MASK);
 
-       chip = kcalloc(1, sizeof(*chip), GFP_KERNEL);
+       chip = kzalloc(sizeof(*chip), GFP_KERNEL);
        if (chip == NULL)
                return -ENOMEM;