Commit a3dcce97 authored by Dan Carpenter's avatar Dan Carpenter Committed by David S. Miller

llc: cleanup: remove dead code from llc_init()

We don't need "dev" any more after:
	a5a04819
	[LLC]: station source mac address
Signed-off-by: default avatarDan Carpenter <error27@gmail.com>
Acked-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent e51d739a
...@@ -144,12 +144,6 @@ static struct packet_type llc_tr_packet_type __read_mostly = { ...@@ -144,12 +144,6 @@ static struct packet_type llc_tr_packet_type __read_mostly = {
static int __init llc_init(void) 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_packet_type);
dev_add_pack(&llc_tr_packet_type); dev_add_pack(&llc_tr_packet_type);
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment