Commit 9b739ba5 authored by Alexey Dobriyan's avatar Alexey Dobriyan Committed by David S. Miller

net: remove struct neigh_table::pde

->pde isn't actually needed, since name is stashed in ->id.
Signed-off-by: default avatarAlexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 7e452baf
...@@ -180,9 +180,6 @@ struct neigh_table ...@@ -180,9 +180,6 @@ struct neigh_table
__u32 hash_rnd; __u32 hash_rnd;
unsigned int hash_chain_gc; unsigned int hash_chain_gc;
struct pneigh_entry **phash_buckets; struct pneigh_entry **phash_buckets;
#ifdef CONFIG_PROC_FS
struct proc_dir_entry *pde;
#endif
}; };
/* flags for neigh_update() */ /* flags for neigh_update() */
......
...@@ -1424,9 +1424,8 @@ void neigh_table_init_no_netlink(struct neigh_table *tbl) ...@@ -1424,9 +1424,8 @@ void neigh_table_init_no_netlink(struct neigh_table *tbl)
panic("cannot create neighbour cache statistics"); panic("cannot create neighbour cache statistics");
#ifdef CONFIG_PROC_FS #ifdef CONFIG_PROC_FS
tbl->pde = proc_create_data(tbl->id, 0, init_net.proc_net_stat, if (!proc_create_data(tbl->id, 0, init_net.proc_net_stat,
&neigh_stat_seq_fops, tbl); &neigh_stat_seq_fops, tbl))
if (!tbl->pde)
panic("cannot create neighbour proc dir entry"); panic("cannot create neighbour proc dir entry");
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment