summaryrefslogtreecommitdiffstats
path: root/net/802/p8022.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/802/p8022.c')
-rw-r--r--net/802/p8022.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/802/p8022.c b/net/802/p8022.c
index 1a12f4d60..b4a9b43f9 100644
--- a/net/802/p8022.c
+++ b/net/802/p8022.c
@@ -16,7 +16,6 @@
* 4 entries at most). The current demux assumes this.
*/
-#include <linux/config.h>
#include <linux/module.h>
#include <linux/netdevice.h>
#include <linux/skbuff.h>
@@ -62,7 +61,7 @@ int p8022_rcv(struct sk_buff *skb, struct device *dev, struct packet_type *pt)
}
skb->sk = NULL;
- kfree_skb(skb, FREE_READ);
+ kfree_skb(skb);
return 0;
}