ALSA: es1688_lib: Deletion of an unnecessary check before the function call "release_...
authorMarkus Elfring <elfring@users.sourceforge.net>
Fri, 21 Nov 2014 18:05:50 +0000 (19:05 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 21 Nov 2014 19:07:13 +0000 (20:07 +0100)
commit42d772101274492ca15258ea346e6ebbc2bc9bd0
tree9cd4f78fd63af1796c99c58ea97b2563a5e4f3e5
parentd712eaf29d3fe5928d891a4a90ac58644ad595ed
ALSA: es1688_lib: Deletion of an unnecessary check before the function call "release_and_free_resource"

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>
sound/isa/es1688/es1688_lib.c