mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-21 06:01:23 +00:00
[TR]: Use ctl paths to register net/token-ring/ table
The same thing for token-ring - use ctl paths and get rid of external references on the tr_table. Unfortunately, I couldn't split this patch into cleanup and use-the-paths parts. As a lame excuse I can say, that the cleanup is just moving the tr_table from one file to another - closet to a single variable, that this ctl table tunes. Since the source file becomes empty after the move, I remove it. Signed-off-by: Pavel Emelyanov <xemul@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
3e37c3f997
commit
36f0bebd98
5 changed files with 25 additions and 47 deletions
|
@ -31,14 +31,6 @@
|
|||
#endif
|
||||
|
||||
struct ctl_table net_table[] = {
|
||||
#ifdef CONFIG_TR
|
||||
{
|
||||
.ctl_name = NET_TR,
|
||||
.procname = "token-ring",
|
||||
.mode = 0555,
|
||||
.child = tr_table,
|
||||
},
|
||||
#endif
|
||||
{ 0 },
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue