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
5c0f9cc7
Commit
5c0f9cc7
authored
May 26, 2003
by
Hideaki Yoshifuji
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[IPV6]: Make procfs destructors return void.
parent
b1314aa8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
10 deletions
+3
-10
net/ipv6/af_inet6.c
net/ipv6/af_inet6.c
+2
-8
net/ipv6/proc.c
net/ipv6/proc.c
+1
-2
No files found.
net/ipv6/af_inet6.c
View file @
5c0f9cc7
...
...
@@ -75,22 +75,16 @@ MODULE_LICENSE("GPL");
#ifdef CONFIG_PROC_FS
extern
int
raw6_proc_init
(
void
);
extern
int
raw6_proc_exit
(
void
);
extern
void
raw6_proc_exit
(
void
);
extern
int
tcp6_proc_init
(
void
);
extern
void
tcp6_proc_exit
(
void
);
extern
int
udp6_proc_init
(
void
);
extern
void
udp6_proc_exit
(
void
);
extern
int
ipv6_misc_proc_init
(
void
);
extern
int
ipv6_misc_proc_exit
(
void
);
extern
void
ipv6_misc_proc_exit
(
void
);
extern
int
anycast6_get_info
(
char
*
,
char
**
,
off_t
,
int
);
extern
int
if6_proc_init
(
void
);
extern
void
if6_proc_exit
(
void
);
#endif
#ifdef CONFIG_SYSCTL
...
...
net/ipv6/proc.c
View file @
5c0f9cc7
...
...
@@ -299,11 +299,10 @@ int __init ipv6_misc_proc_init(void)
goto
out
;
}
int
ipv6_misc_proc_exit
(
void
)
void
ipv6_misc_proc_exit
(
void
)
{
proc_net_remove
(
"sockstat6"
);
proc_net_remove
(
"dev_snmp6"
);
proc_net_remove
(
"snmp6"
);
return
0
;
}
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