no need to check vfree() argument for NULL
PATCH 1/1 no need to check vfree() argument for NULL
There's no need to check the vfree() argument for NULL.
Signed-off-by Jesper Juhl <[email protected]>
---
sound/oss/sb_card.c | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-)
sound/oss/sb_card.c +2 -4
@@ -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);