summaryrefslogtreecommitdiff
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)
void destroy_EII_client(struct datalink_proto *dl)
{
- if (dl)
- kfree(dl);
+ kfree(dl);
}
EXPORT_SYMBOL(destroy_EII_client);