Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 32201
b: refs/heads/master
c: 2478173
h: refs/heads/master
i:
  32199: 0d52717
v: v3
  • Loading branch information
Adrian Bunk authored and David S. Miller committed Jul 9, 2006
1 parent b1c3d3c commit 9f3d978
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 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: ebbaeab18b1c520054ea70e512ac0db7456ede01
refs/heads/master: 24781734643ea2e9fd864f58000e47793e2dcb04
13 changes: 9 additions & 4 deletions trunk/net/atm/clip.c
Original file line number Diff line number Diff line change
Expand Up @@ -962,7 +962,6 @@ static struct file_operations arp_seq_fops = {

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

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

setup_timer(&idle_timer, idle_timer_check, 0);

p = create_proc_entry("arp", S_IRUGO, atm_proc_root);
if (p)
p->proc_fops = &arp_seq_fops;
#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

return 0;
}
Expand Down

0 comments on commit 9f3d978

Please sign in to comment.