]> nv-tegra.nvidia Code Review - linux-2.6.git/blobdiff - sound/isa/gus/gus_main.c
[ALSA] Replace with kzalloc() - isa stuff
[linux-2.6.git] / sound / isa / gus / gus_main.c
index a636d9ce3502ecf36bdab0291acdaeb0cd4fd514..8f2872f8e8f6daae4907480b5eeb97f2c07d0a1d 100644 (file)
@@ -157,7 +157,7 @@ int snd_gus_create(snd_card_t * card,
        };
 
        *rgus = NULL;
-       gus = kcalloc(1, sizeof(*gus), GFP_KERNEL);
+       gus = kzalloc(sizeof(*gus), GFP_KERNEL);
        if (gus == NULL)
                return -ENOMEM;
        gus->gf1.irq = -1;