Tag: 57dca36ee25bcab20a71705175c00b6f114cdab4

ALSA: seq: Deletion of unnecessary checks before the function call “snd_midi_event_free”

Author: Markus Elfring <elfring@users.sourceforge.net> The snd_midi_event_free() 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/core/seq/oss/seq_oss_midi.c | 6 ++—- sound/core/seq/seq_midi.c | 3 +– 2 files changed, 3 insertions(+), …

Continue reading