X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=net%2F802%2Fp8023.c;h=53cf05709283662f16578fab5cd06972c07eec16;hb=43bc926fffd92024b46cafaf7350d669ba9ca884;hp=a0b61b40225f40fe994e644c99e4ad6e0c17d356;hpb=cee37fe97739d85991964371c1f3a745c00dd236;p=linux-2.6.git diff --git a/net/802/p8023.c b/net/802/p8023.c index a0b61b402..53cf05709 100644 --- a/net/802/p8023.c +++ b/net/802/p8023.c @@ -20,6 +20,7 @@ #include #include +#include /* * Place an 802.3 header on a packet. The driver will do the mac @@ -53,9 +54,10 @@ struct datalink_proto *make_8023_client(void) */ void destroy_8023_client(struct datalink_proto *dl) { - if (dl) - kfree(dl); + kfree(dl); } EXPORT_SYMBOL(destroy_8023_client); EXPORT_SYMBOL(make_8023_client); + +MODULE_LICENSE("GPL");