* [patch] llc: cleanup: remove dead code from llc_init()
@ 2010-03-24 11:55 Dan Carpenter
2010-03-24 13:54 ` Arnaldo Carvalho de Melo
0 siblings, 1 reply; 3+ messages in thread
From: Dan Carpenter @ 2010-03-24 11:55 UTC (permalink / raw)
To: Arnaldo Carvalho de Melo
Cc: David S. Miller, Octavian Purdila, netdev, kernel-janitors
We don't need "dev" any more after:
a5a04819c5740cb1aa217af2cc8f5ef26f33d744
[LLC]: station source mac address
Signed-off-by: Dan Carpenter <error27@gmail.com>
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;
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [patch] llc: cleanup: remove dead code from llc_init()
2010-03-24 11:55 [patch] llc: cleanup: remove dead code from llc_init() Dan Carpenter
@ 2010-03-24 13:54 ` Arnaldo Carvalho de Melo
2010-03-24 20:34 ` David Miller
0 siblings, 1 reply; 3+ messages in thread
From: Arnaldo Carvalho de Melo @ 2010-03-24 13:54 UTC (permalink / raw)
To: Dan Carpenter; +Cc: David S. Miller, Octavian Purdila, netdev, kernel-janitors
Em Wed, Mar 24, 2010 at 02:55:10PM +0300, Dan Carpenter escreveu:
> We don't need "dev" any more after:
> a5a04819c5740cb1aa217af2cc8f5ef26f33d744
> [LLC]: station source mac address
>
> Signed-off-by: Dan Carpenter <error27@gmail.com>
Old leftovers, well spotted, Dave, please apply.
Acked-by: Arnaldo Carvalho de Melo <acme@redhat.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [patch] llc: cleanup: remove dead code from llc_init()
2010-03-24 13:54 ` Arnaldo Carvalho de Melo
@ 2010-03-24 20:34 ` David Miller
0 siblings, 0 replies; 3+ messages in thread
From: David Miller @ 2010-03-24 20:34 UTC (permalink / raw)
To: acme; +Cc: error27, opurdila, netdev, kernel-janitors
From: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Date: Wed, 24 Mar 2010 10:54:18 -0300
> Em Wed, Mar 24, 2010 at 02:55:10PM +0300, Dan Carpenter escreveu:
>> We don't need "dev" any more after:
>> a5a04819c5740cb1aa217af2cc8f5ef26f33d744
>> [LLC]: station source mac address
>>
>> Signed-off-by: Dan Carpenter <error27@gmail.com>
>
> Old leftovers, well spotted, Dave, please apply.
>
>
> Acked-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Applied, thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-03-24 20:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-24 11:55 [patch] llc: cleanup: remove dead code from llc_init() Dan Carpenter
2010-03-24 13:54 ` Arnaldo Carvalho de Melo
2010-03-24 20:34 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).