projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge git://git.kernel.org/pub/scm/linux/kernel/git/holtmann/bluetooth-2.6
[powerpc.git]
/
net
/
sunrpc
/
sysctl.c
diff --git
a/net/sunrpc/sysctl.c
b/net/sunrpc/sysctl.c
index
47d8df2
..
738db32
100644
(file)
--- a/
net/sunrpc/sysctl.c
+++ b/
net/sunrpc/sysctl.c
@@
-35,14
+35,8
@@
static ctl_table sunrpc_table[];
void
rpc_register_sysctl(void)
{
void
rpc_register_sysctl(void)
{
- if (!sunrpc_table_header) {
- sunrpc_table_header = register_sysctl_table(sunrpc_table, 1);
-#ifdef CONFIG_PROC_FS
- if (sunrpc_table[0].de)
- sunrpc_table[0].de->owner = THIS_MODULE;
-#endif
- }
-
+ if (!sunrpc_table_header)
+ sunrpc_table_header = register_sysctl_table(sunrpc_table);
}
void
}
void