sound: oss: Deletion of unnecessary checks before the function call "vfree"
authorMarkus Elfring <elfring@users.sourceforge.net>
Sat, 3 Jan 2015 14:10:52 +0000 (15:10 +0100)
committerTakashi Iwai <tiwai@suse.de>
Sun, 4 Jan 2015 14:11:56 +0000 (15:11 +0100)
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/oss/pss.c
sound/oss/trix.c

diff --cc sound/oss/pss.c
Simple merge
Simple merge