From: Jesper Juhl There's no need to check the vfree() argument for NULL. Signed-off-by: Jesper Juhl Signed-off-by: Andrew Morton --- sound/oss/sb_card.c | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) diff -puN sound/oss/sb_card.c~vfree-null-check-fixup-for-sb_card sound/oss/sb_card.c --- 25/sound/oss/sb_card.c~vfree-null-check-fixup-for-sb_card Fri Feb 24 15:10:30 2006 +++ 25-akpm/sound/oss/sb_card.c Fri Feb 24 15:10:30 2006 @@ -337,10 +337,8 @@ static void __exit sb_exit(void) pnp_unregister_card_driver(&sb_pnp_driver); #endif - if (smw_free) { - vfree(smw_free); - smw_free = NULL; - } + vfree(smw_free); + smw_free = NULL; } module_init(sb_init); _