diff options
Diffstat (limited to 'net/decnet/dn_dev.c')
-rw-r--r-- | net/decnet/dn_dev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/decnet/dn_dev.c b/net/decnet/dn_dev.c index 2b2c7fe45a71..0977df42c205 100644 --- a/net/decnet/dn_dev.c +++ b/net/decnet/dn_dev.c | |||
@@ -282,7 +282,7 @@ static void dn_dev_sysctl_register(struct net_device *dev, struct dn_dev_parms * | |||
282 | t->dn_dev_root_dir[0].de = NULL; | 282 | t->dn_dev_root_dir[0].de = NULL; |
283 | t->dn_dev_vars[0].extra1 = (void *)dev; | 283 | t->dn_dev_vars[0].extra1 = (void *)dev; |
284 | 284 | ||
285 | t->sysctl_header = register_sysctl_table(t->dn_dev_root_dir, 0); | 285 | t->sysctl_header = register_sysctl_table(t->dn_dev_root_dir); |
286 | if (t->sysctl_header == NULL) | 286 | if (t->sysctl_header == NULL) |
287 | kfree(t); | 287 | kfree(t); |
288 | else | 288 | else |