diff options
| author | luo penghao <[email protected]> | 2022-01-19 18:08:09 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2022-01-20 08:52:52 +0200 |
| commit | 7080cead5d45b79ec0c86fa285cf9b6abc413ed8 (patch) | |
| tree | 622cb507cb5653d47d6b28e6326cab6a0e59919c /scripts/gdb/linux/slab.py | |
| parent | 153ee1c41a3ec707438ae0ca6b0061f72de334ef (diff) | |
sysctl: remove redundant ret assignment
Subsequent if judgments will assign new values to ret, so the statement
here should be deleted
The clang_analyzer complains as follows:
fs/proc/proc_sysctl.c:
Value stored to 'ret' is never read
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: luo penghao <[email protected]>
Reported-by: Zeal Robot <[email protected]>
Acked-by: Luis Chamberlain <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/slab.py')
0 files changed, 0 insertions, 0 deletions