summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2004-04-21 23:36:19 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-04-21 23:36:19 -0700
commite5c7f247d6701be52bb10044db6dfbb1099135e4 (patch)
tree71a3b7fdcc1979905a1355441fe07263bc1a3809
parent507662e17a13f499770b98e6e6b5c6a13b737e63 (diff)
[PATCH] dynamic proc cleanups
From: Matt Mackall <mpm@selenic.com> Delete obsolete comment and kill test of obsolete define.
-rw-r--r--arch/alpha/kernel/irq.c14
-rw-r--r--include/linux/proc_fs.h2
2 files changed, 5 insertions, 11 deletions
diff --git a/arch/alpha/kernel/irq.c b/arch/alpha/kernel/irq.c
index 0e317230f81e..c51bf8dbfc8a 100644
--- a/arch/alpha/kernel/irq.c
+++ b/arch/alpha/kernel/irq.c
@@ -415,16 +415,12 @@ init_irq_proc (void)
#endif
/*
- * Create entries for all existing IRQs. If the number of IRQs
- * is greater the 1/4 the total dynamic inode space for /proc,
- * don't pollute the inode space
+ * Create entries for all existing IRQs.
*/
- if (ACTUAL_NR_IRQS < (PROC_NDYNAMIC / 4)) {
- for (i = 0; i < ACTUAL_NR_IRQS; i++) {
- if (irq_desc[i].handler == &no_irq_type)
- continue;
- register_irq_proc(i);
- }
+ for (i = 0; i < ACTUAL_NR_IRQS; i++) {
+ if (irq_desc[i].handler == &no_irq_type)
+ continue;
+ register_irq_proc(i);
}
}
diff --git a/include/linux/proc_fs.h b/include/linux/proc_fs.h
index 0b12bd800fd1..2d439a8390c0 100644
--- a/include/linux/proc_fs.h
+++ b/include/linux/proc_fs.h
@@ -24,8 +24,6 @@ enum {
PROC_ROOT_INO = 1,
};
-/* Finally, the dynamically allocatable proc entries are reserved: */
-
#define PROC_SUPER_MAGIC 0x9fa0
/*