diff options
Diffstat (limited to 'net/802/p8023.c')
-rw-r--r-- | net/802/p8023.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/802/p8023.c b/net/802/p8023.c index 6368d3dce444..d23e906456eb 100644 --- a/net/802/p8023.c +++ b/net/802/p8023.c | |||
@@ -54,8 +54,7 @@ struct datalink_proto *make_8023_client(void) | |||
54 | */ | 54 | */ |
55 | void destroy_8023_client(struct datalink_proto *dl) | 55 | void destroy_8023_client(struct datalink_proto *dl) |
56 | { | 56 | { |
57 | if (dl) | 57 | kfree(dl); |
58 | kfree(dl); | ||
59 | } | 58 | } |
60 | 59 | ||
61 | EXPORT_SYMBOL(destroy_8023_client); | 60 | EXPORT_SYMBOL(destroy_8023_client); |