summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@osdl.org>2006-04-15 01:00:25 +0200
committerDavid S. Miller <davem@davemloft.net>2006-04-15 01:00:25 +0200
commitdcdb02752ff13a64433c36f2937a58d93ae7a19e (patch)
tree559dc600a14fa2fac5997961c2628ee2c5c6d107 /net
parent[ATM] clip: run through Lindent (diff)
downloadlinux-dcdb02752ff13a64433c36f2937a58d93ae7a19e.tar.xz
linux-dcdb02752ff13a64433c36f2937a58d93ae7a19e.zip
[ATM] clip: get rid of PROC_FS ifdef
Don't need the ifdef here since create_proc_entry() is stubbed to always return NULL. Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/atm/clip.c13
1 files changed, 4 insertions, 9 deletions
diff --git a/net/atm/clip.c b/net/atm/clip.c
index 00dddba67c81..49258eed936d 100644
--- a/net/atm/clip.c
+++ b/net/atm/clip.c
@@ -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;
@@ -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;
}