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)
commitd1f45e6037f1195d10cf363e94a08ee2f10f9b41
tree4e68e24f1ef8deb949c21bf2caa2be1f8531bbff
parent57dca36ee25bcab20a71705175c00b6f114cdab4
sound: oss: Deletion of unnecessary checks 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/oss/pss.c
sound/oss/trix.c