projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drivers/net: Remove pointless checks for NULL prior to calling kfree()
[deliverable/linux.git]
/
drivers
/
net
/
mace.c
diff --git
a/drivers/net/mace.c
b/drivers/net/mace.c
index 81d0a26e4f41c00662f5984469b3fad209b96d67..09b1e7b364e5a94b3348cd7eb99d29fcf6b3d036 100644
(file)
--- a/
drivers/net/mace.c
+++ b/
drivers/net/mace.c
@@
-1035,10
+1035,8
@@
static void __exit mace_cleanup(void)
{
macio_unregister_driver(&mace_driver);
- if (dummy_buf) {
- kfree(dummy_buf);
- dummy_buf = NULL;
- }
+ kfree(dummy_buf);
+ dummy_buf = NULL;
}
MODULE_AUTHOR("Paul Mackerras");
This page took
0.026293 seconds
and
5
git commands to generate.