WSL2-Linux-Kernel/sound/isa/sb
Markus Elfring 966b7bc935 ALSA: sb: Deletion of unnecessary checks before two function calls
The functions release_and_free_resource() and snd_util_memhdr_free() test
whether their argument is NULL and then return immediately.
Thus the test around the call is not needed.

This issue was detected by using the Coccinelle software.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2014-11-21 20:07:36 +01:00
..
Makefile ALSA: Merge es1688 and es968 drivers 2010-05-10 09:49:30 +02:00
emu8000.c ALSA: Remove the rest of __devinit* in comments 2012-12-07 07:41:56 +01:00
emu8000_callback.c sound: Remove unnecessary semicolon 2012-10-06 16:47:53 +02:00
emu8000_local.h [ALSA] Remove sound/driver.h 2008-01-31 17:29:48 +01:00
emu8000_patch.c ALSA: emu8000: Remove duplicate linux/moduleparam.h include from emu8000_patch.c 2012-02-06 10:22:54 +01:00
emu8000_pcm.c ALSA: sb: check get_user() return value 2010-07-29 12:24:22 +02:00
emu8000_synth.c ALSA: sb: Deletion of unnecessary checks before two function calls 2014-11-21 20:07:36 +01:00
jazz16.c ALSA: isa: Convert to snd_card_new() with a device pointer 2014-02-12 10:58:21 +01:00
sb8.c ALSA: isa: Convert to snd_card_new() with a device pointer 2014-02-12 10:58:21 +01:00
sb8_main.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
sb8_midi.c [ALSA] Remove sound/driver.h 2008-01-31 17:29:48 +01:00
sb16.c ALSA: isa: Convert to snd_card_new() with a device pointer 2014-02-12 10:58:21 +01:00
sb16_csp.c ALSA: sb16 - info leak in snd_sb_csp_ioctl() 2013-11-07 10:17:18 +01:00
sb16_main.c ALSA: sb16: Use snd_ctl_enum_info() 2014-10-21 08:34:52 +02:00
sb_common.c ALSA: sb: Deletion of unnecessary checks before two function calls 2014-11-21 20:07:36 +01:00
sb_mixer.c ALSA: sb16: Use snd_ctl_enum_info() 2014-10-21 08:34:52 +02:00
sbawe.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00