summaryrefslogtreecommitdiffstats
path: root/net/802/p8023.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/802/p8023.c')
-rw-r--r--net/802/p8023.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/802/p8023.c b/net/802/p8023.c
index 90ac32365..57649c231 100644
--- a/net/802/p8023.c
+++ b/net/802/p8023.c
@@ -57,6 +57,6 @@ struct datalink_proto *make_8023_client(void)
void destroy_8023_client(struct datalink_proto *dl)
{
if (dl)
- kfree_s(dl,sizeof(struct datalink_proto));
+ kfree(dl);
}