projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e49e76d
)
[ATM] clip: get rid of PROC_FS ifdef
author
Stephen Hemminger
<shemminger@osdl.org>
Fri, 14 Apr 2006 23:00:25 +0000
(16:00 -0700)
committer
David S. Miller
<davem@davemloft.net>
Fri, 14 Apr 2006 23:00:25 +0000
(16:00 -0700)
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>
net/atm/clip.c
patch
|
blob
|
blame
|
history
diff --git
a/net/atm/clip.c
b/net/atm/clip.c
index 00dddba67c81d57c3935d3000060205f9b2f94ea..49258eed936d6566a3d52cc8f60c8a2bb3138ce2 100644
(file)
--- 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;
}