diff options
author | luo penghao <[email protected]> | 2021-12-08 07:53:07 +0000 |
---|---|---|
committer | Theodore Ts'o <[email protected]> | 2022-01-10 13:25:56 -0500 |
commit | ae6ec194b55273e52351ee70d694594dcabe405d (patch) | |
tree | 158ddbc5914d81fed59237aea3c50d10cd6fd360 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | a6dbc76c4d9cc961bfb31a495fb27ee06e037e35 (diff) |
ext4: remove unnecessary 'offset' assignment
Although it is in the loop, offset is reassigned at the beginning of the
while loop. And after the loop, the value will not be used
The clang_analyzer complains as follows:
fs/ext4/dir.c:306:3 warning:
Value stored to 'offset' is never read
Reported-by: Zeal Robot <[email protected]>
Signed-off-by: luo penghao <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions