diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2008-11-11 19:47:44 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-11-11 19:47:44 -0500 |
commit | 9b739ba5e66c96938fbc07a4dbd9da5b81eac56f (patch) | |
tree | 7a9fe83f69aac8b870144ee90a2b6071a3f96165 /net/core | |
parent | 7e452baf6b96b5aeba097afd91501d33d390cc97 (diff) |
net: remove struct neigh_table::pde
->pde isn't actually needed, since name is stashed in ->id.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
-rw-r--r-- | net/core/neighbour.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/net/core/neighbour.c b/net/core/neighbour.c index d9bbe010e0ee..500c2430007c 100644 --- a/net/core/neighbour.c +++ b/net/core/neighbour.c | |||
@@ -1424,9 +1424,8 @@ void neigh_table_init_no_netlink(struct neigh_table *tbl) | |||
1424 | panic("cannot create neighbour cache statistics"); | 1424 | panic("cannot create neighbour cache statistics"); |
1425 | 1425 | ||
1426 | #ifdef CONFIG_PROC_FS | 1426 | #ifdef CONFIG_PROC_FS |
1427 | tbl->pde = proc_create_data(tbl->id, 0, init_net.proc_net_stat, | 1427 | if (!proc_create_data(tbl->id, 0, init_net.proc_net_stat, |
1428 | &neigh_stat_seq_fops, tbl); | 1428 | &neigh_stat_seq_fops, tbl)) |
1429 | if (!tbl->pde) | ||
1430 | panic("cannot create neighbour proc dir entry"); | 1429 | panic("cannot create neighbour proc dir entry"); |
1431 | #endif | 1430 | #endif |
1432 | 1431 | ||