Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 121832
b: refs/heads/master
c: 9b739ba
h: refs/heads/master
v: v3
  • Loading branch information
Alexey Dobriyan authored and David S. Miller committed Nov 12, 2008
1 parent bb8bb86 commit 138a624
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7e452baf6b96b5aeba097afd91501d33d390cc97
refs/heads/master: 9b739ba5e66c96938fbc07a4dbd9da5b81eac56f
3 changes: 0 additions & 3 deletions trunk/include/net/neighbour.h
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,6 @@ struct neigh_table
__u32 hash_rnd;
unsigned int hash_chain_gc;
struct pneigh_entry **phash_buckets;
#ifdef CONFIG_PROC_FS
struct proc_dir_entry *pde;
#endif
};

/* flags for neigh_update() */
Expand Down
5 changes: 2 additions & 3 deletions trunk/net/core/neighbour.c
Original file line number Diff line number Diff line change
Expand Up @@ -1424,9 +1424,8 @@ void neigh_table_init_no_netlink(struct neigh_table *tbl)
panic("cannot create neighbour cache statistics");

#ifdef CONFIG_PROC_FS
tbl->pde = proc_create_data(tbl->id, 0, init_net.proc_net_stat,
&neigh_stat_seq_fops, tbl);
if (!tbl->pde)
if (!proc_create_data(tbl->id, 0, init_net.proc_net_stat,
&neigh_stat_seq_fops, tbl))
panic("cannot create neighbour proc dir entry");
#endif

Expand Down

0 comments on commit 138a624

Please sign in to comment.