diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2008-04-29 10:01:41 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-29 17:06:18 +0200 |
commit | 5e971dce0b2f6896e02372512df0d1fb0bfe2d55 (patch) | |
tree | bce0356470331c49c92b87042103034e55beaa8e /drivers/pnp/isapnp | |
parent | proc: less special case in xlate code (diff) | |
download | linux-5e971dce0b2f6896e02372512df0d1fb0bfe2d55.tar.xz linux-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 <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/pnp/isapnp')
0 files changed, 0 insertions, 0 deletions