diff --git a/net/llc/llc_core.c b/net/llc/llc_core.c index 78167e81dfebdf0be0510df3ff82b7c82da68b38..2bb0ddff8c0fe3d72c072f175d54675a91a6922c 100644 --- a/net/llc/llc_core.c +++ b/net/llc/llc_core.c @@ -144,12 +144,6 @@ static struct packet_type llc_tr_packet_type __read_mostly = { static int __init llc_init(void) { - struct net_device *dev; - - dev = first_net_device(&init_net); - if (dev != NULL) - dev = next_net_device(dev); - dev_add_pack(&llc_packet_type); dev_add_pack(&llc_tr_packet_type); return 0;