projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] Remove redundant NULL checks before [kv]free - in drivers/
[cascardo/linux.git]
/
drivers
/
video
/
au1100fb.c
diff --git
a/drivers/video/au1100fb.c
b/drivers/video/au1100fb.c
index
d63c3f4
..
9ef68cd
100644
(file)
--- a/
drivers/video/au1100fb.c
+++ b/
drivers/video/au1100fb.c
@@
-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);