diff options
author | Colin Ian King <colin.king@canonical.com> | 2016-12-09 17:59:47 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2016-12-21 13:34:28 +0300 |
commit | 7c3a23b85cac5f3caa531f369c1e3a5f1a8b555f (patch) | |
tree | 0a86c8d427acdebfd70f198751f0334c0a9ba656 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 6c73f949300f17851f53fa80c9d1611ccd6909d3 (diff) | |
download | linux-7c3a23b85cac5f3caa531f369c1e3a5f1a8b555f.tar.xz |
nvmet/fcloop: remove some logically dead code performing redundant ret checks
The check to see if ret is non-zero and return this rather than count
is redundant in two occassions. It is redundant because prior to this
check, the return code ret is already checked for a non-zero error
return value and we return from the function at that point.
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-off-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions