aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/root.c
diff options
context:
space:
mode:
authorAlexey Dobriyan <[email protected]>2008-04-29 08:01:41 +0000
committerLinus Torvalds <[email protected]>2008-04-29 15:06:18 +0000
commit5e971dce0b2f6896e02372512df0d1fb0bfe2d55 (patch)
treebce0356470331c49c92b87042103034e55beaa8e /fs/proc/root.c
parentproc: less special case in xlate code (diff)
downloadkernel-5e971dce0b2f6896e02372512df0d1fb0bfe2d55.tar.gz
kernel-5e971dce0b2f6896e02372512df0d1fb0bfe2d55.zip
proc: drop several "PDE valid/invalid" checks
proc-misc code is noticeably full of "if (de)" checks when PDE passed is always valid. Remove them. Addition of such check in proc_lookup_de() is for failed lookup case. Signed-off-by: Alexey Dobriyan <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'fs/proc/root.c')
0 files changed, 0 insertions, 0 deletions