Tag: 966b7bc9354ab8f59f0ef2d96306615157e0f76e

ALSA: sb: Deletion of unnecessary checks before two function calls

Author: Markus Elfring <elfring@users.sourceforge.net> 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 Signed-off-by: Takashi Iwai — sound/isa/sb/emu8000_synth.c | 3 +– sound/isa/sb/sb_common.c | 3 +– 2 files changed, …

Continue reading