diff options
Diffstat (limited to 'sound/pci/maestro3.c')
-rw-r--r-- | sound/pci/maestro3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/maestro3.c b/sound/pci/maestro3.c index 7b85a472292a..635531c2aa06 100644 --- a/sound/pci/maestro3.c +++ b/sound/pci/maestro3.c | |||
@@ -2660,7 +2660,7 @@ snd_m3_create(snd_card_t *card, struct pci_dev *pci, | |||
2660 | return -ENXIO; | 2660 | return -ENXIO; |
2661 | } | 2661 | } |
2662 | 2662 | ||
2663 | chip = kcalloc(1, sizeof(*chip), GFP_KERNEL); | 2663 | chip = kzalloc(sizeof(*chip), GFP_KERNEL); |
2664 | if (chip == NULL) { | 2664 | if (chip == NULL) { |
2665 | pci_disable_device(pci); | 2665 | pci_disable_device(pci); |
2666 | return -ENOMEM; | 2666 | return -ENOMEM; |