OpenCloudOS-Kernel/sound/pci/ctxfi
Joe Perches 5395103dcc ALSA: ctxfi: Neaten get_daio_rsc
Move the pointer declarations into the blocks that use them.
Neaten the kfree calls when the _init functions fail.

Trivially reduces object size (defconfig x86-64)

$ size sound/pci/ctxfi/ctdaio.o.*
   text	   data	    bss	    dec	    hex	filename
   5287	    224	      0	   5511	   1587	sound/pci/ctxfi/ctdaio.o.new
   5319	    224	      0	   5543	   15a7	sound/pci/ctxfi/ctdaio.o.old

Signed-off-by: Joe Perches <joe@perches.com>
Noticed-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2014-12-03 20:30:04 +01:00
..
Makefile ALSA: ctxfi - Use native timer interrupt on emu20k1 2009-06-05 16:44:13 +02:00
ct20k1reg.h ALSA: ctxfi: ct20k1reg: Fix typo in include guard 2014-08-22 11:24:57 +02:00
ct20k2reg.h ALSA: ctxfi: Add support for Creative Titanium HD 2011-06-14 07:32:29 +02:00
ctamixer.c ALSA: ctxfi: pr_* replaced with dev_* 2014-09-30 10:36:59 +02:00
ctamixer.h ALSA: ctxfi: added reference of snd_card 2014-09-30 10:35:48 +02:00
ctatc.c ALSA: ctxfi: Kill the rest snd_print*() 2014-10-28 17:40:42 +01:00
ctatc.h ALSA: ctxfi: changed void * to struct hw * 2014-09-30 10:34:29 +02:00
ctdaio.c ALSA: ctxfi: Neaten get_daio_rsc 2014-12-03 20:30:04 +01:00
ctdaio.h ALSA: ctxfi: added reference of snd_card 2014-09-30 10:35:48 +02:00
cthardware.c ALSA: ctxfi: Use WARN_ON() instead of BUG_ON() 2013-11-06 08:34:49 +01:00
cthardware.h ALSA: ctxfi: added reference of snd_card 2014-09-30 10:35:48 +02:00
cthw20k1.c ALSA: ctxfi: pr_* replaced with dev_* 2014-09-30 10:36:59 +02:00
cthw20k1.h ALSA: SB X-Fi driver merge 2009-05-14 08:24:10 +02:00
cthw20k2.c ALSA: ctxfi: pr_* replaced with dev_* 2014-09-30 10:36:59 +02:00
cthw20k2.h ALSA: SB X-Fi driver merge 2009-05-14 08:24:10 +02:00
ctimap.c ALSA: ctxfi - Remove useless initializations and cast 2009-06-08 14:57:57 +02:00
ctimap.h ALSA: SB X-Fi driver merge 2009-05-14 08:24:10 +02:00
ctmixer.c ALSA: ctxfi: pr_* replaced with dev_* 2014-09-30 10:36:59 +02:00
ctmixer.h ALSA: PCI: Replace CONFIG_PM with CONFIG_PM_SLEEP 2012-08-14 18:12:04 +02:00
ctpcm.c ALSA: ctxfi: pr_* replaced with dev_* 2014-09-30 10:36:59 +02:00
ctpcm.h ALSA: SB X-Fi driver merge 2009-05-14 08:24:10 +02:00
ctresource.c ALSA: ctxfi: pr_* replaced with dev_* 2014-09-30 10:36:59 +02:00
ctresource.h ALSA: ctxfi: changed void * to struct hw * 2014-09-30 10:34:29 +02:00
ctsrc.c ALSA: ctxfi: pr_* replaced with dev_* 2014-09-30 10:36:59 +02:00
ctsrc.h ALSA: ctxfi: added reference of snd_card 2014-09-30 10:35:48 +02:00
cttimer.c ALSA: ctxfi: Kill the rest snd_print*() 2014-10-28 17:40:42 +01:00
cttimer.h ALSA: ctxfi - Use native timer interrupt on emu20k1 2009-06-05 16:44:13 +02:00
ctvmem.c ALSA: ctxfi: pr_* replaced with dev_* 2014-09-30 10:36:59 +02:00
ctvmem.h ALSA: ctxfi: Bump playback substreams to 256 2011-08-24 10:39:44 +02:00
xfi.c ALSA: ctxfi: pr_* replaced with dev_* 2014-09-30 10:36:59 +02:00