[ALSA] Remove snd_runtime_check() macro
authorTakashi Iwai <tiwai@suse.de>
Mon, 10 Oct 2005 09:46:31 +0000 (11:46 +0200)
committerJaroslav Kysela <perex@suse.cz>
Fri, 4 Nov 2005 12:17:42 +0000 (13:17 +0100)
commit7c22f1aaa23370bf9ba2dd3abbccbed70dced216
treeebc9c1e5cfdab4815afdfab1ba583e6220287252
parentf01cc521a2abef5dba24fb0873b9626ba6b0a0a5
[ALSA] Remove snd_runtime_check() macro

Remove snd_runtime_check() macro.
This macro worsens the readability of codes.  They should be either
normal if() or removable asserts.

Also, the assert displays stack-dump, instead of only the last caller
pointer.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
17 files changed:
Documentation/sound/alsa/DocBook/writing-an-alsa-driver.tmpl
include/sound/core.h
sound/core/control.c
sound/core/init.c
sound/core/oss/mixer_oss.c
sound/core/pcm.c
sound/core/pcm_lib.c
sound/core/pcm_native.c
sound/core/seq/seq_midi.c
sound/core/timer.c
sound/isa/cs423x/cs4236_lib.c
sound/pci/ac97/ac97_codec.c
sound/pci/ac97/ac97_patch.c
sound/pci/emu10k1/emufx.c
sound/pci/emu10k1/emupcm.c
sound/pci/trident/trident_main.c
sound/ppc/pmac.c