diff options
author | Doug Ledford <dledford@redhat.com> | 2018-01-31 11:13:07 -0500 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2018-01-31 16:19:50 -0500 |
commit | 589ccd8b0404281ebc84fe9a9ae51ddbc6d1a8c1 (patch) | |
tree | b191b341f430df506d25e4daf3f879202395cb14 /tools/perf/scripts/python/syscall-counts.py | |
parent | e7996a9a77fc669387da43ff4823b91cc4872bd0 (diff) |
RDMA/bnxt_re: Fix static checker warning
If there is ever any error while creating srq->umem, we return that
error, we don't store it in srq->umem, so any check of srq->umem for
IS_ERR is pointless. Further, checking udata is unnecessary as
srq->umem is always either NULL or valid, without respect to udata.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions