diff options
-rw-r--r-- | sound/oss/pss.c | 2 | ||||
-rw-r--r-- | sound/oss/trix.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sound/oss/pss.c b/sound/oss/pss.c index ca0d6e9f49f5..81314f9e2ccb 100644 --- a/sound/oss/pss.c +++ b/sound/oss/pss.c | |||
@@ -1228,7 +1228,7 @@ static void __exit cleanup_pss(void) | |||
1228 | { | 1228 | { |
1229 | if(!pss_no_sound) | 1229 | if(!pss_no_sound) |
1230 | { | 1230 | { |
1231 | if(fw_load && pss_synth) | 1231 | if (fw_load) |
1232 | vfree(pss_synth); | 1232 | vfree(pss_synth); |
1233 | if(pssmss) | 1233 | if(pssmss) |
1234 | unload_pss_mss(&cfg2); | 1234 | unload_pss_mss(&cfg2); |
diff --git a/sound/oss/trix.c b/sound/oss/trix.c index 944e0c015485..3c494dc93b93 100644 --- a/sound/oss/trix.c +++ b/sound/oss/trix.c | |||
@@ -487,7 +487,7 @@ static int __init init_trix(void) | |||
487 | 487 | ||
488 | static void __exit cleanup_trix(void) | 488 | static void __exit cleanup_trix(void) |
489 | { | 489 | { |
490 | if (fw_load && trix_boot) | 490 | if (fw_load) |
491 | vfree(trix_boot); | 491 | vfree(trix_boot); |
492 | if (sb) | 492 | if (sb) |
493 | unload_trix_sb(&cfg2); | 493 | unload_trix_sb(&cfg2); |