mirror of
https://github.com/torvalds/linux.git
synced 2024-12-29 06:12:08 +00:00
llc: cleanup: remove dead code from llc_init()
We don't need "dev" any more after:
a5a04819c5
[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>
This commit is contained in:
parent
e51d739ab7
commit
a3dcce97b2
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user