diff options
author | Takashi Iwai <tiwai@suse.de> | 2005-09-09 14:21:17 +0200 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2005-09-12 10:48:09 +0200 |
commit | 9e76a76efc43d604a20bf0c5564caaf028a24d2e (patch) | |
tree | 92b186afb7a8a800482dfb2d7e093b2d4da3b80d /sound/isa/sb/sb16_csp.c | |
parent | ecca82b4b447f8df73c807a018dac3e2863912d9 (diff) | |
download | linux-stable-9e76a76efc43d604a20bf0c5564caaf028a24d2e.tar.gz linux-stable-9e76a76efc43d604a20bf0c5564caaf028a24d2e.tar.bz2 linux-stable-9e76a76efc43d604a20bf0c5564caaf028a24d2e.zip |
[ALSA] Replace with kzalloc() - isa stuff
ES18xx driver,OPL3SA2 driver,AD1816A driver,AD1848 driver,CS4231 driver
ES1688 driver,GUS Library,Opti9xx drivers,EMU8000 driver
SB16/AWE driver,SB drivers
Replace kcalloc(1,..) with kzalloc().
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/isa/sb/sb16_csp.c')
-rw-r--r-- | sound/isa/sb/sb16_csp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/isa/sb/sb16_csp.c b/sound/isa/sb/sb16_csp.c index d64790bcd831..7192d4c758e6 100644 --- a/sound/isa/sb/sb16_csp.c +++ b/sound/isa/sb/sb16_csp.c @@ -122,7 +122,7 @@ int snd_sb_csp_new(sb_t *chip, int device, snd_hwdep_t ** rhwdep) if ((err = snd_hwdep_new(chip->card, "SB16-CSP", device, &hw)) < 0) return err; - if ((p = kcalloc(1, sizeof(*p), GFP_KERNEL)) == NULL) { + if ((p = kzalloc(sizeof(*p), GFP_KERNEL)) == NULL) { snd_device_free(chip->card, hw); return -ENOMEM; } |