diff options
Diffstat (limited to 'net/ethernet/pe2.c')
-rw-r--r-- | net/ethernet/pe2.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/ethernet/pe2.c b/net/ethernet/pe2.c index 98a494be6039..9d57b4fb6440 100644 --- a/net/ethernet/pe2.c +++ b/net/ethernet/pe2.c | |||
@@ -32,8 +32,7 @@ struct datalink_proto *make_EII_client(void) | |||
32 | 32 | ||
33 | void destroy_EII_client(struct datalink_proto *dl) | 33 | void destroy_EII_client(struct datalink_proto *dl) |
34 | { | 34 | { |
35 | if (dl) | 35 | kfree(dl); |
36 | kfree(dl); | ||
37 | } | 36 | } |
38 | 37 | ||
39 | EXPORT_SYMBOL(destroy_EII_client); | 38 | EXPORT_SYMBOL(destroy_EII_client); |