aboutsummaryrefslogtreecommitdiffstats
path: root/net/ethernet/pe2.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ethernet/pe2.c')
-rw-r--r--net/ethernet/pe2.c3
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
33void destroy_EII_client(struct datalink_proto *dl) 33void destroy_EII_client(struct datalink_proto *dl)
34{ 34{
35 if (dl) 35 kfree(dl);
36 kfree(dl);
37} 36}
38 37
39EXPORT_SYMBOL(destroy_EII_client); 38EXPORT_SYMBOL(destroy_EII_client);