procfs: simplify conditional processing of fs/proc.o.
authorRobert P. J. Day <rpjday@crashcourse.ca>
Wed, 11 Aug 2010 01:03:08 +0000 (18:03 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Aug 2010 15:59:20 +0000 (08:59 -0700)
Since the entire fs/proc directory is conditionally included based on
CONFIG_PROC_FS, it's redundant to check that same variable within that
directory.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/proc/Makefile

index 11a7b5c68153d9df8412cdaa53a051e846d9944d..2758e2afc51851a1ee46074d2ec94981d5892d6d 100644 (file)
@@ -2,7 +2,7 @@
 # Makefile for the Linux proc filesystem routines.
 #
 
-obj-$(CONFIG_PROC_FS) += proc.o
+obj-y   += proc.o
 
 proc-y                 := nommu.o task_nommu.o
 proc-$(CONFIG_MMU)     := mmu.o task_mmu.o