diff options
Diffstat (limited to 'sound')
-rw-r--r-- | sound/oss/sb_card.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sound/oss/sb_card.c b/sound/oss/sb_card.c index d38e88abc8fa..4708cbdc3149 100644 --- a/sound/oss/sb_card.c +++ b/sound/oss/sb_card.c | |||
@@ -348,10 +348,8 @@ static void __exit sb_exit(void) | |||
348 | 348 | ||
349 | sb_unregister_all(); | 349 | sb_unregister_all(); |
350 | 350 | ||
351 | if (smw_free) { | 351 | vfree(smw_free); |
352 | vfree(smw_free); | 352 | smw_free = NULL; |
353 | smw_free = NULL; | ||
354 | } | ||
355 | } | 353 | } |
356 | 354 | ||
357 | module_init(sb_init); | 355 | module_init(sb_init); |