Tag: a827977ac31cb5d1f4720efede9bbbf241789993

ALSA: emu10k1: Delete an unnecessary check before the function call “kfree”

Author: Markus Elfring <elfring@users.sourceforge.net> The kfree() function tests whether its argument is NULL and then returns 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/p16v.c | 7 ++—– 1 file changed, 2 insertions(+), 5 deletions(-)   diff …

Continue reading