diff options
Diffstat (limited to 'net/rds/sysctl.c')
-rw-r--r-- | net/rds/sysctl.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/rds/sysctl.c b/net/rds/sysctl.c index b5cb2aa08f33..c3b0cd43eb56 100644 --- a/net/rds/sysctl.c +++ b/net/rds/sysctl.c | |||
@@ -94,8 +94,7 @@ static struct ctl_table rds_sysctl_rds_table[] = { | |||
94 | 94 | ||
95 | void rds_sysctl_exit(void) | 95 | void rds_sysctl_exit(void) |
96 | { | 96 | { |
97 | if (rds_sysctl_reg_table) | 97 | unregister_net_sysctl_table(rds_sysctl_reg_table); |
98 | unregister_net_sysctl_table(rds_sysctl_reg_table); | ||
99 | } | 98 | } |
100 | 99 | ||
101 | int rds_sysctl_init(void) | 100 | int rds_sysctl_init(void) |