diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2019-12-04 16:50:02 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-12-04 19:44:11 -0800 |
commit | 5f6354eaa517ce5c1e7b7feb224a0324601f796e (patch) | |
tree | 883c1b1e389d93ec63d7d035be00fb3c3c16860a /Documentation/dev-tools | |
parent | e06689bf57017ac022ccf0f2a5071f760821ce0f (diff) | |
download | linux-5f6354eaa517ce5c1e7b7feb224a0324601f796e.tar.bz2 |
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 'Documentation/dev-tools')
0 files changed, 0 insertions, 0 deletions