diff options
| author | Michael Opdenacker <[email protected]> | 2014-04-15 08:06:50 +0000 |
|---|---|---|
| committer | Steve French <[email protected]> | 2014-04-17 04:08:57 +0000 |
| commit | 1f80c0cc39e587edd06a36b43ba3a3b09d4ac428 (patch) | |
| tree | 68539f36bda4fae674846affe1f8464197f7371a /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | cifs: fix error handling cifs_user_readv (diff) | |
| download | kernel-1f80c0cc39e587edd06a36b43ba3a3b09d4ac428.tar.gz kernel-1f80c0cc39e587edd06a36b43ba3a3b09d4ac428.zip | |
cif: fix dead code
This issue was found by Coverity (CID 1202536)
This proposes a fix for a statement that creates dead code.
The "rc < 0" statement is within code that is run
with "rc > 0".
It seems like "err < 0" was meant to be used here.
This way, the error code is returned by the function.
Signed-off-by: Michael Opdenacker <[email protected]>
Acked-by: Al Viro <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
