From: Markus Elfring Date: Sat, 3 Jan 2015 13:54:56 +0000 (+0100) Subject: ALSA: seq: Deletion of unnecessary checks before the function call "snd_midi_event_free" X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~130^2~76 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=57dca36ee25bcab20a71705175c00b6f114cdab4;p=pandora-kernel.git ALSA: seq: Deletion of unnecessary checks before the function call "snd_midi_event_free" 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 --- Reading git-diff-tree failed