Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 25838
b: refs/heads/master
c: dcdb027
h: refs/heads/master
v: v3
  • Loading branch information
Stephen Hemminger authored and David S. Miller committed Apr 14, 2006
1 parent decb7ac commit cf46272
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 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: e49e76db031fdfaadb4907a319ea3a1dc9d2925f
refs/heads/master: dcdb02752ff13a64433c36f2937a58d93ae7a19e
13 changes: 4 additions & 9 deletions trunk/net/atm/clip.c
Original file line number Diff line number Diff line change
Expand Up @@ -976,6 +976,7 @@ static struct file_operations arp_seq_fops = {

static int __init atm_clip_init(void)
{
struct proc_dir_entry *p;
neigh_table_init(&clip_tbl);

clip_tbl_hook = &clip_tbl;
Expand All @@ -985,15 +986,9 @@ static int __init atm_clip_init(void)

setup_timer(&idle_timer, idle_timer_check, 0);

#ifdef CONFIG_PROC_FS
{
struct proc_dir_entry *p;

p = create_proc_entry("arp", S_IRUGO, atm_proc_root);
if (p)
p->proc_fops = &arp_seq_fops;
}
#endif
p = create_proc_entry("arp", S_IRUGO, atm_proc_root);
if (p)
p->proc_fops = &arp_seq_fops;

return 0;
}
Expand Down

0 comments on commit cf46272

Please sign in to comment.