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>
This commit is contained in:

committed by
Takashi Iwai

parent
57dca36ee2
commit
d1f45e6037
@@ -1228,7 +1228,7 @@ static void __exit cleanup_pss(void)
|
||||
{
|
||||
if(!pss_no_sound)
|
||||
{
|
||||
if(fw_load && pss_synth)
|
||||
if (fw_load)
|
||||
vfree(pss_synth);
|
||||
if(pssmss)
|
||||
unload_pss_mss(&cfg2);
|
||||
|
Reference in New Issue
Block a user