X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=sound%2Foss%2Fsb_card.c;h=4708cbdc31497edded137e77ed4fc1b181856861;hb=40aee729b350672c2550640622416a855e27938f;hp=d38e88abc8fac32510159d8d885e6cb78ad2d3fa;hpb=4fa639123d9e6e8dfaa3d116368f4b2478da31af;p=pandora-kernel.git 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) sb_unregister_all(); - if (smw_free) { - vfree(smw_free); - smw_free = NULL; - } + vfree(smw_free); + smw_free = NULL; } module_init(sb_init);