summaryrefslogtreecommitdiffstats
path: root/net/llc
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2010-03-24 01:55:10 +0000
committerDavid S. Miller <davem@davemloft.net>2010-03-24 13:34:08 -0700
commita3dcce97b285ba54810f38fe2eccc295d69a76ce (patch)
tree34aa8af8b769d47bf411004bccbe501a7ebcfc17 /net/llc
parente51d739ab79110c43ca03daf3ddb3c52dadd38b7 (diff)
downloadop-kernel-dev-a3dcce97b285ba54810f38fe2eccc295d69a76ce.zip
op-kernel-dev-a3dcce97b285ba54810f38fe2eccc295d69a76ce.tar.gz
llc: cleanup: remove dead code from llc_init()
We don't need "dev" any more after: a5a04819c5740cb1aa217af2cc8f5ef26f33d744 [LLC]: station source mac address Signed-off-by: Dan Carpenter <error27@gmail.com> Acked-by: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/llc')
-rw-r--r--net/llc/llc_core.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/net/llc/llc_core.c b/net/llc/llc_core.c
index 78167e8..2bb0ddf 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;
OpenPOWER on IntegriCloud