android_kernel_samsung_sm8650/drivers/infiniband/hw/usnic
Dan Carpenter 10f2d1cbf8 RDMA/usnic: Clean up usnic_ib_alloc_pd()
Remove the unnecessary "umem_pd" variable.  And usnic_uiom_alloc_pd()
never returns NULL so remove the NULL check.

Link: https://lore.kernel.org/r/20211118113924.GH1147@kili
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2021-11-19 12:02:30 -04:00
..
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile infiniband: prefix header search paths with $(srctree)/ 2019-01-25 15:28:50 -07:00
usnic_abi.h usnic: add missing clauses to BSD license 2015-10-06 13:43:25 -04:00
usnic_common_pkt_hdr.h RDMA: Adding ethertype ETH_P_IBOE 2017-01-10 14:05:11 -05:00
usnic_common_util.h {net,IB}/{rxe,usnic}: Utilize generic mac to eui32 function 2017-04-25 14:21:34 -04:00
usnic_debugfs.c infiniband: usnic: no need to check return value of debugfs_create functions 2019-01-24 09:22:30 -07:00
usnic_debugfs.h usnic: add missing clauses to BSD license 2015-10-06 13:43:25 -04:00
usnic_fwd.c RDMA: Constify netdev->dev_addr accesses 2021-10-25 14:33:09 -03:00
usnic_fwd.h RDMA: Constify netdev->dev_addr accesses 2021-10-25 14:33:09 -03:00
usnic_ib_main.c RDMA/usnic: Lock VF with mutex instead of spinlock 2021-09-24 10:55:28 -03:00
usnic_ib_qp_grp.c RDMA: Globally allocate and release QP memory 2021-08-03 13:44:27 -03:00
usnic_ib_qp_grp.h RDMA: Globally allocate and release QP memory 2021-08-03 13:44:27 -03:00
usnic_ib_sysfs.c RDMA/usnic: Fix misuse of sysfs_emit_at 2021-01-19 20:27:29 -04:00
usnic_ib_sysfs.h RDMA/drivers: Use core provided API for registering device attributes 2018-10-17 03:45:01 -06:00
usnic_ib_verbs.c RDMA/usnic: Clean up usnic_ib_alloc_pd() 2021-11-19 12:02:30 -04:00
usnic_ib_verbs.h RDMA: Globally allocate and release QP memory 2021-08-03 13:44:27 -03:00
usnic_ib.h RDMA/usnic: Lock VF with mutex instead of spinlock 2021-09-24 10:55:28 -03:00
usnic_log.h usnic: add missing clauses to BSD license 2015-10-06 13:43:25 -04:00
usnic_transport.c IB/usnic: fix spelling mistake "unvalid" -> "invalid" 2018-09-25 14:35:06 -06:00
usnic_transport.h usnic: add missing clauses to BSD license 2015-10-06 13:43:25 -04:00
usnic_uiom_interval_tree.c treewide: Change list_sort to use const pointers 2021-04-08 16:04:22 -07:00
usnic_uiom_interval_tree.h lib/interval_tree: fast overlap detection 2017-09-08 18:26:49 -07:00
usnic_uiom.c mmap locking API: use coccinelle to convert mmap_sem rwsem call sites 2020-06-09 09:39:14 -07:00
usnic_uiom.h RDMA: Replace zero-length array with flexible-array member 2020-02-20 13:33:51 -04:00
usnic_vnic.c treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
usnic_vnic.h usnic: add missing clauses to BSD license 2015-10-06 13:43:25 -04:00
usnic.h usnic: add missing clauses to BSD license 2015-10-06 13:43:25 -04:00