ALSA: i2sbus: Deletion of unnecessary checks before the function call "release_and_fr...
authorMarkus Elfring <elfring@users.sourceforge.net>
Tue, 2 Dec 2014 21:50:24 +0000 (22:50 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 3 Dec 2014 06:59:04 +0000 (07:59 +0100)
The release_and_free_resource() 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 <elfring@users.sourceforge.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

No differences found