linux_dsm_epyc7002/drivers/infiniband/hw/nes
Colin Ian King a6a9274a7c 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: 8994445054 ("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>
2019-03-26 12:07:45 -03:00
..
Kconfig IB/{core,uverbs}: Move ib_umem_xxx functions from ib_core to ib_uverbs 2019-01-10 17:06:44 -07:00
Makefile RDMA/nes: Support for Packed And Unaligned fpdus 2011-10-10 10:54:47 -07:00
nes_cm.c RDMA: Start use ib_device_ops 2018-12-12 07:40:16 -07:00
nes_cm.h nes: Change accelerated flag to bool 2017-12-22 13:33:30 -07:00
nes_context.h RDMA/nes: Copyright update 2012-01-30 16:18:07 -08:00
nes_hw.c IB/nes: Remove unnecessary parentheses 2018-09-21 12:00:50 -04:00
nes_hw.h RDMA/nes: Convert timers to use timer_setup() 2017-10-09 12:19:41 -04:00
nes_mgt.c net: remove unsafe skb_insert() 2018-11-25 10:36:19 -08:00
nes_mgt.h RDMA/nes: Copyright update 2012-01-30 16:18:07 -08:00
nes_nic.c RDMA/nes: Delete impossible debug prints 2018-09-05 15:58:30 -06:00
nes_utils.c Merge branch 'timer_setup' into for-next 2017-10-18 13:12:09 -04:00
nes_verbs.c RDMA/nes: remove redundant check on udata 2019-03-26 12:07:45 -03:00
nes_verbs.h RDMA/nes: Remove useless usecnt variable and redundant memset 2019-02-15 21:39:15 -07:00
nes.c RDMA/nes: Delete impossible debug prints 2018-09-05 15:58:30 -06:00
nes.h RDMA/nes: Delete impossible debug prints 2018-09-05 15:58:30 -06:00