kernel_optimize_test/sound/isa/gus
Lars-Peter Clausen fa60c06569 ALSA: wss: Remove (almost) always NULL parameters
Most callers of snd_wss_pcm(), snd_wss_timer() and snd_cs4236_pcm() pass
NULL as the last parameter, some callers pass a pointer but never use it
after the function has been called and only a few callers pass a pointer and
actually use it. The later is only the case for snd_wss_pcm() for
snd_cs4236_pcm() and it is possible to get the same PCM object by accessing
the pcm field of the snd_wss struct that was passed as the first parameter.

This function removes the last parameters from the functions mentioned above
and updates the callers which used it to use chip->pcm instead. This allows
us to slightly simplify the functions since they don't have to check and set
the last parameter anymore which makes the code slightly shorter and
cleaner.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2015-01-02 16:30:08 +01:00
..
gus_dma.c ALSA: gus - Add missing KERN_* prefix to printk 2009-02-05 15:46:48 +01:00
gus_dram.c [ALSA] Remove sound/driver.h 2008-01-31 17:29:48 +01:00
gus_io.c [ALSA] Remove sound/driver.h 2008-01-31 17:29:48 +01:00
gus_irq.c ALSA: gus - Add missing KERN_* prefix to printk 2009-02-05 15:46:48 +01:00
gus_main.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
gus_mem_proc.c ALSA: info - Implement common llseek for binary mode 2010-04-13 12:01:20 +02:00
gus_mem.c ALSA: sound/isa/gus: Correct code taking the size of a pointer 2009-12-14 11:16:09 +01:00
gus_mixer.c ALSA: Kill snd_assert() in sound/isa/* 2008-08-13 11:46:36 +02:00
gus_pcm.c ALSA: gus: Remove always NULL parameters 2015-01-02 16:27:42 +01:00
gus_reset.c [ALSA] Remove sound/driver.h 2008-01-31 17:29:48 +01:00
gus_tables.h [ALSA] Changed Jaroslav Kysela's e-mail from perex@suse.cz to perex@perex.cz 2007-10-16 16:51:18 +02:00
gus_timer.c [ALSA] Remove sound/driver.h 2008-01-31 17:29:48 +01:00
gus_uart.c ALSA: gus: Remove always NULL parameters 2015-01-02 16:27:42 +01:00
gus_volume.c sound: Add export.h for THIS_MODULE/EXPORT_SYMBOL where needed 2011-10-31 19:31:22 -04:00
gusclassic.c ALSA: gus: Remove always NULL parameters 2015-01-02 16:27:42 +01:00
gusextreme.c ALSA: gus: Remove always NULL parameters 2015-01-02 16:27:42 +01:00
gusmax.c ALSA: wss: Remove (almost) always NULL parameters 2015-01-02 16:30:08 +01:00
interwave-stb.c
interwave.c ALSA: wss: Remove (almost) always NULL parameters 2015-01-02 16:30:08 +01:00
Makefile [ALSA] Remove sequencer instrument layer 2008-01-31 17:29:13 +01:00