diff options
| author | nixiaoming <[email protected]> | 2018-07-22 08:37:08 +0000 |
|---|---|---|
| committer | Al Viro <[email protected]> | 2018-10-18 05:42:49 +0000 |
| commit | 55338ac2a9839557516b00661e6a05daf996fda0 (patch) | |
| tree | 05dae4cbf78c273650e3c9f3b6d8ba20a23f4fe0 /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | iomap: remove duplicated include from iomap.c (diff) | |
| download | kernel-55338ac2a9839557516b00661e6a05daf996fda0.tar.gz kernel-55338ac2a9839557516b00661e6a05daf996fda0.zip | |
Delete invalid assignment statements in do_sendfile
Assigning value -EINVAL to "retval" here, but that stored value is
overwritten before it can be used.
retval = -EINVAL;
....
retval = rw_verify_area(WRITE, out.file, &out_pos, count);
value_overwrite: Overwriting previous write to "retval" with value
from rw_verify_area
delete invalid assignment statements
Signed-off-by: n00202754 <[email protected]>
Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions
