remarkable-linux/sound
Mariusz Kozlowski 51882453a7 [ALSA] This patch removes memset() from snd_emu10k1_fx8010_info() which apparently
isn't needed there.  Upatched code uses:
memset(info, 0, sizeof(info));
where 'info' is a pointer and therefore only first 4 bytes of 'info' gets
cleared on a 32bit machine.  Anyway looking at the code zeoring this memory
region isn't needed at all because the snd_emu10k1_fx8010_info() function
initializes all the 'info' fields on its own.  So that's why this code works
at all in its original form.
This patch removes this redundant code.  Also snd_emu10k1_fx8010_info() can't
fail so lets save some bytes and change its return type to void.

Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
2007-10-16 15:58:48 +02:00
..
aoa [ALSA] Clean up with common snd_ctl_boolean_*_info callbacks 2007-10-16 15:57:45 +02:00
arm [ALSA] Get rid of dead code in sound/arm/sa11xx-uda1341.c 2007-10-16 15:58:24 +02:00
core [ALSA] seq_midi_event: fix parsing of F9/FD bytes 2007-10-16 15:58:38 +02:00
drivers [ALSA] Clean up Makefile 2007-10-16 15:58:05 +02:00
i2c [ALSA] Clean up Makefile 2007-10-16 15:58:05 +02:00
isa [ALSA] isa libs Makefiles cleanup 2007-10-16 15:58:38 +02:00
mips
oss DDB5477: remove driver bits of support 2007-07-31 15:39:38 -07:00
parisc
pci [ALSA] This patch removes memset() from snd_emu10k1_fx8010_info() which apparently 2007-10-16 15:58:48 +02:00
pcmcia [ALSA] Clean up with common snd_ctl_boolean_*_info callbacks 2007-10-16 15:57:45 +02:00
ppc [ALSA] Clean up with common snd_ctl_boolean_*_info callbacks 2007-10-16 15:57:45 +02:00
sh [ALSA] Clean up with common snd_ctl_boolean_*_info callbacks 2007-10-16 15:57:45 +02:00
soc [ALSA] sound/soc ioremap/iounmap balancing 2007-10-16 15:58:21 +02:00
sparc [SOUND] CS4231 SBus: Two fixes. 2007-08-03 14:08:33 -07:00
spi [ALSA] ALSA sound driver for the AT73C213 DAC using Atmel SSC driver 2007-10-16 15:57:50 +02:00
synth [ALSA] sound/synth/util_mem.c: remove pointless check 2007-10-16 15:58:15 +02:00
usb [ALSA] usb-audio - Add advanced mode support for Edirol UA-1EX 2007-10-16 15:58:39 +02:00
ac97_bus.c
Kconfig [ALSA] Add SPI devices to ALSA Kconfig and Makefile 2007-10-16 15:57:47 +02:00
last.c
Makefile [ALSA] Add SPI devices to ALSA Kconfig and Makefile 2007-10-16 15:57:47 +02:00
sound_core.c
sound_firmware.c Detach sched.h from mm.h 2007-05-21 09:18:19 -07:00