ALSA: lola: Deletion of an unnecessary check before the function call "vfree"
authorMarkus Elfring <elfring@users.sourceforge.net>
Mon, 17 Nov 2014 11:42:16 +0000 (12:42 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 17 Nov 2014 12:46:23 +0000 (13:46 +0100)
commit6da95e1ea8e2492530eac9c51b293226e3f4ce94
tree91cf90fa0cfd3234bb91811b27fe8ab965ce2c7a
parentae1b22658e6d3ebc6af07a225c221d84fe8cb91f
ALSA: lola: Deletion of an unnecessary check before the function call "vfree"

The vfree() function performs 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>
sound/pci/lola/lola_mixer.c