Tag: 31604d35db18c1382c7ee9fa836ff9ab0b4d2751

ALSA: emu10k1: Deletion of unnecessary checks before three function calls

Author: Markus Elfring <elfring@users.sourceforge.net> The functions kfree(), release_firmware() 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/pci/emu10k1/emu10k1_main.c | 9 +++—— sound/pci/emu10k1/emufx.c | 3 +– 2 files …

Continue reading