diff options
Diffstat (limited to 'drivers/net/mace.c')
-rw-r--r-- | drivers/net/mace.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/net/mace.c b/drivers/net/mace.c index f2fc1f26cd4b..2a5add257b8f 100644 --- a/drivers/net/mace.c +++ b/drivers/net/mace.c | |||
@@ -1036,10 +1036,8 @@ static void __exit mace_cleanup(void) | |||
1036 | { | 1036 | { |
1037 | macio_unregister_driver(&mace_driver); | 1037 | macio_unregister_driver(&mace_driver); |
1038 | 1038 | ||
1039 | if (dummy_buf) { | 1039 | kfree(dummy_buf); |
1040 | kfree(dummy_buf); | 1040 | dummy_buf = NULL; |
1041 | dummy_buf = NULL; | ||
1042 | } | ||
1043 | } | 1041 | } |
1044 | 1042 | ||
1045 | MODULE_AUTHOR("Paul Mackerras"); | 1043 | MODULE_AUTHOR("Paul Mackerras"); |