Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
8e35afa2
Commit
8e35afa2
authored
Jan 15, 2004
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Plain Diff
Merge redhat.com:/spare/repo/netdev-2.6/misc
into redhat.com:/spare/repo/net-drivers-2.5
parents
477552e4
9107dd15
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
net/sched/sch_teql.c
net/sched/sch_teql.c
+0
-6
No files found.
net/sched/sch_teql.c
View file @
8e35afa2
...
...
@@ -456,7 +456,6 @@ static __init void teql_master_setup(struct net_device *dev)
}
static
LIST_HEAD
(
master_dev_list
);
static
spinlock_t
master_dev_lock
=
SPIN_LOCK_UNLOCKED
;
static
int
max_equalizers
=
1
;
MODULE_PARM
(
max_equalizers
,
"i"
);
MODULE_PARM_DESC
(
max_equalizers
,
"Max number of link equalizers"
);
...
...
@@ -481,9 +480,7 @@ int __init teql_init(void)
}
master
=
dev
->
priv
;
spin_lock
(
&
master_dev_lock
);
list_add_tail
(
&
master
->
master_list
,
&
master_dev_list
);
spin_unlock
(
&
master_dev_lock
);
}
out:
return
err
;
...
...
@@ -493,17 +490,14 @@ static void __exit teql_exit(void)
{
struct
teql_master
*
master
,
*
nxt
;
spin_lock
(
&
master_dev_lock
);
list_for_each_entry_safe
(
master
,
nxt
,
&
master_dev_list
,
master_list
)
{
list_del
(
&
master
->
master_list
);
unregister_qdisc
(
&
master
->
qops
);
/* FIXME: we're inside a spinlock; unregister_netdev() blocks */
unregister_netdev
(
master
->
dev
);
free_netdev
(
master
->
dev
);
}
spin_unlock
(
&
master_dev_lock
);
}
module_init
(
teql_init
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment