aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/bnxt_re/Kconfig
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2019-03-02 23:06:36 +0000
committerJason Gunthorpe <jgg@mellanox.com>2019-03-26 12:07:45 -0300
commita6a9274a7c71573c8921080da990696702f7301c (patch)
tree796261067c0e356112c0884d5c30f4902e17ac14 /drivers/infiniband/hw/bnxt_re/Kconfig
parentcma: Convert portspace IDRs to XArray (diff)
downloadlinux-dev-a6a9274a7c71573c8921080da990696702f7301c.tar.xz
linux-dev-a6a9274a7c71573c8921080da990696702f7301c.zip
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 'drivers/infiniband/hw/bnxt_re/Kconfig')
0 files changed, 0 insertions, 0 deletions