]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
proc: remove useless check on symlink removal
authorAlexey Dobriyan <adobriyan@sw.ru>
Fri, 8 Feb 2008 12:18:28 +0000 (04:18 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 8 Feb 2008 17:22:23 +0000 (09:22 -0800)
commitfd2cbe48883a01f710c2a639877e3b3e4eba6e59
treed358e9de25cb8abf06b0f6fb334d6121da19ae07
parent76df0c25d0c34eba9fbb8a44106ed096553ba0e8
proc: remove useless check on symlink removal

proc symlinks always have valid ->data containing destination of symlink.  No
need to check it on removal -- proc_symlink() already done it.

Signed-off-by: Alexey Dobriyan <adobriyan@sw.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/proc/generic.c