diff options
author | 2019-12-04 16:50:02 -0800 | |
---|---|---|
committer | 2019-12-04 19:44:11 -0800 | |
commit | 5f6354eaa517ce5c1e7b7feb224a0324601f796e (patch) | |
tree | 883c1b1e389d93ec63d7d035be00fb3c3c16860a /include/linux/build_bug.h | |
parent | proc: change ->nlink under proc_subdir_lock (diff) | |
download | linux-rng-5f6354eaa517ce5c1e7b7feb224a0324601f796e.tar.xz linux-rng-5f6354eaa517ce5c1e7b7feb224a0324601f796e.zip |
fs/proc/generic.c: delete useless "len" variable
Pointer to next '/' encodes length of path element and next start
position. Subtraction and increment are redundant.
Link: http://lkml.kernel.org/r/20191004234521.GA30246@avx2
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/build_bug.h')
0 files changed, 0 insertions, 0 deletions