ALSA: core: Deletion of unnecessary checks before two function calls
authorMarkus Elfring <elfring@users.sourceforge.net>
Fri, 21 Nov 2014 17:34:48 +0000 (18:34 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 21 Nov 2014 19:06:57 +0000 (20:06 +0100)
The functions snd_seq_oss_timer_delete() and vunmap() perform also input
parameter validation. Thus the test around the call is not needed.

This issue was detected by using the Coccinelle software.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

No differences found