diff options
author | Colin Ian King <colin.king@canonical.com> | 2019-03-02 18:06:36 -0500 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-03-26 11:07:45 -0400 |
commit | a6a9274a7c71573c8921080da990696702f7301c (patch) | |
tree | 796261067c0e356112c0884d5c30f4902e17ac14 /include/linux/overflow.h | |
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 <colin.king@canonical.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'include/linux/overflow.h')
0 files changed, 0 insertions, 0 deletions