X-Git-Url: https://nv-tegra.nvidia.com/r/gitweb?p=linux-3.10.git;a=blobdiff_plain;f=sound%2Fisa%2Fsb%2Femu8000.c;h=5375705c054bbaceece95c7cd7a9797136a688e6;hp=028af4066595f30759eaf4bfb033730a5c572088;hb=9e76a76efc43d604a20bf0c5564caaf028a24d2e;hpb=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 diff --git a/sound/isa/sb/emu8000.c b/sound/isa/sb/emu8000.c index 028af406659..5375705c054 100644 --- a/sound/isa/sb/emu8000.c +++ b/sound/isa/sb/emu8000.c @@ -1097,7 +1097,7 @@ snd_emu8000_new(snd_card_t *card, int index, long port, int seq_ports, snd_seq_d if (seq_ports <= 0) return 0; - hw = kcalloc(1, sizeof(*hw), GFP_KERNEL); + hw = kzalloc(sizeof(*hw), GFP_KERNEL); if (hw == NULL) return -ENOMEM; spin_lock_init(&hw->reg_lock);