pss.c vfree() checking cleanups.
Signed-off by: James Lamanna <[email protected]>
Signed-off-by: Domen Puncer <[email protected]>
---
kj-domen/sound/oss/pss.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -puN sound/oss/pss.c~vfree-sound_oss_pss sound/oss/pss.c
--- kj/sound/oss/pss.c~vfree-sound_oss_pss 2005-01-10 18:01:08.000000000 +0100
+++ kj-domen/sound/oss/pss.c 2005-01-10 18:01:08.000000000 +0100
@@ -1242,7 +1242,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);
_