tmp_suning_uos_patched/sound/oss
Julia Lawall 47c9807425 sound: mpu401.c: make return of 0 explicit
Delete unnecessary local variable whose value is always 0 and that hides
the fact that the result is always 0.

A simplified version of the semantic patch that fixes this problem is as
follows: (http://coccinelle.lip6.fr/)

// <smpl>
@r exists@
local idexpression ret;
expression e;
position p;
@@

-ret = 0;
... when != ret = e
return
- ret
+ 0
  ;
// </smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2014-05-19 10:08:43 +02:00
..
dmasound sound: dmasound: use module_platform_driver_probe() 2014-04-09 10:02:21 +02:00
.gitignore oss: remove maui_boot.h from .gitignore and dontdiff 2012-09-01 08:36:09 -07:00
ad1848_mixer.h
ad1848.c sound/oss: Remove uncompilable DBG macro use 2014-04-04 18:20:10 +02:00
ad1848.h
aedsp16.c
audio.c sound: Remove unnecessary semicolon 2012-10-06 16:47:53 +02:00
bin2hex.c
CHANGELOG
coproc.h
dev_table.c
dev_table.h sound/oss: remove offset from load_patch callbacks 2011-03-23 22:47:46 +01:00
dmabuf.c sound: oss: remove last sleep_on users 2014-01-14 16:12:07 +01:00
hex2hex.c
kahlua.c sound: OSS: Remove superfluous pci_set_dvdata(pci, NULL) 2013-05-29 12:40:04 +02:00
Kconfig x86, platforms: Remove SGI Visual Workstation 2014-02-27 08:07:39 -08:00
Makefile x86, platforms: Remove SGI Visual Workstation 2014-02-27 08:07:39 -08:00
midi_ctrl.h
midi_synth.c sound/oss: remove offset from load_patch callbacks 2011-03-23 22:47:46 +01:00
midi_synth.h sound/oss: remove offset from load_patch callbacks 2011-03-23 22:47:46 +01:00
midibuf.c sound: oss: midibuf: fix sleep_on races 2014-01-14 16:11:44 +01:00
mpu401.c sound: mpu401.c: make return of 0 explicit 2014-05-19 10:08:43 +02:00
mpu401.h
msnd_classic.c
msnd_classic.h
msnd_pinnacle.c sound: oss: msnd_pinnacle: avoid interruptible_sleep_on_timeout 2014-01-14 16:01:20 +01:00
msnd_pinnacle.h
msnd.c
msnd.h
opl3_hw.h
opl3.c sound/oss: Remove uncompilable DBG macro use 2014-04-04 18:20:10 +02:00
os.h Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
pas2_card.c sound: Move prototype declaration to header file oss/pas2.h from oss/pas2_card.c 2014-02-07 18:24:42 +01:00
pas2_midi.c
pas2_mixer.c sound/oss: Remove uncompilable DBG macro use 2014-04-04 18:20:10 +02:00
pas2_pcm.c sound/oss: Remove uncompilable DBG macro use 2014-04-04 18:20:10 +02:00
pas2.h sound: Move prototype declaration to header file oss/pas2.h from oss/pas2_card.c 2014-02-07 18:24:42 +01:00
pss.c sound: Remove unnecessary semicolon 2012-10-06 16:47:53 +02:00
README.FIRST
sb_audio.c sound: oss/sb_audio: cap value in sb201_audio_set_speed() 2012-11-18 10:24:49 +01:00
sb_card.c Fix common misspellings 2011-03-31 11:26:23 -03:00
sb_card.h
sb_common.c sound/oss: Remove uncompilable DBG macro use 2014-04-04 18:20:10 +02:00
sb_ess.c sound/oss: Remove uncompilable DBG macro use 2014-04-04 18:20:10 +02:00
sb_ess.h
sb_midi.c
sb_mixer.c sound: Remove unnecessary semicolon 2012-10-06 16:47:53 +02:00
sb_mixer.h
sb.h
sequencer.c sound/oss: Remove uncompilable DBG macro use 2014-04-04 18:20:10 +02:00
sleep.h sound: oss: remove last sleep_on users 2014-01-14 16:12:07 +01:00
sound_calls.h
sound_config.h sound/oss: Remove uncompilable DBG macro use 2014-04-04 18:20:10 +02:00
sound_firmware.h
sound_timer.c sound: oss: use strlcpy() in sound_timer_init() 2011-09-29 08:12:33 +02:00
soundcard.c sound/oss: Remove uncompilable DBG macro use 2014-04-04 18:20:10 +02:00
soundvers.h
swarm_cs4297a.c sound: oss: remove last sleep_on users 2014-01-14 16:12:07 +01:00
sys_timer.c sound: Remove unnecessary semicolon 2012-10-06 16:47:53 +02:00
trix.c ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
tuning.h
uart401.c sound/oss: Remove uncompilable DBG macro use 2014-04-04 18:20:10 +02:00
uart6850.c sound: Remove unnecessary semicolon 2012-10-06 16:47:53 +02:00
ulaw.h
v_midi.c
v_midi.h
vidc_fill.S
vidc.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
vidc.h
waveartist.c ARM: footbridge: nw_gpio_lock is raw_spin_lock 2012-10-07 10:33:12 +02:00
waveartist.h

The modular sound driver patches were funded by Red Hat Software 
(www.redhat.com). The sound driver here is thus a modified version of 
Hannu's code. Please bear that in mind when considering the appropriate
forums for bug reporting. 

Alan Cox