[PATCH] Remove redundant NULL checks before [kv]free - in drivers/
[cascardo/linux.git] / drivers / video / au1100fb.c
index d63c3f4..9ef68cd 100644 (file)
@@ -743,8 +743,7 @@ void __exit au1100fb_cleanup(void)
 {
        driver_unregister(&au1100fb_driver);
 
-       if (drv_info.opt_mode)
-               kfree(drv_info.opt_mode);
+       kfree(drv_info.opt_mode);
 }
 
 module_init(au1100fb_init);