diff options
| author | Colin Ian King <[email protected]> | 2019-03-02 23:06:36 +0000 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2019-03-26 12:07:45 -0300 |
| commit | a6a9274a7c71573c8921080da990696702f7301c (patch) | |
| tree | 796261067c0e356112c0884d5c30f4902e17ac14 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 638267537ad9c751f9f8b4763e616fe237d379c9 (diff) | |
RDMA/nes: remove redundant check on udata
The non-null check on udata is redundant as this check was performed just
a few statements earlier and the check is always true as udata must be
non-null at this point. Remove redundant the check on udata and the
redundant else part that can never be executed.
Detected by CoverityScan, CID#1477317 ("Logically dead code")
Fixes: 899444505473 ("IB/{hw,sw}: Remove 'uobject->context' dependency in object creation APIs")
Signed-off-by: Colin Ian King <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions