summaryrefslogtreecommitdiff
path: root/rust/helpers/workqueue.c
diff options
context:
space:
mode:
authorYajun Deng <yajun.deng@linux.dev>2022-02-23 10:49:01 +0300
committerJason Gunthorpe <jgg@nvidia.com>2022-02-28 20:57:24 +0300
commita80501b89152adb29adc7ab943d75c7345f9a3fb (patch)
tree4930a0b642acebcd3e483d1275efc8990f47284b /rust/helpers/workqueue.c
parent17850f2b0b4b806e47cc44df94186bfc2cdd490b (diff)
downloadlinux-a80501b89152adb29adc7ab943d75c7345f9a3fb.tar.xz
RDMA/core: Remove unnecessary statements
The rdma_zalloc_drv_obj() in __ib_alloc_pd() would zero pd, it unnecessary add NULL to the object in struct pd. The uverbs_free_pd() already return busy if pd->usecnt is true, there is no need to add a warning. Link: https://lore.kernel.org/r/20220223074901.201506-1-yajun.deng@linux.dev Signed-off-by: Yajun Deng <yajun.deng@linux.dev> Reviewed-by: Leon Romanovsky <leonro@nvidia.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'rust/helpers/workqueue.c')
0 files changed, 0 insertions, 0 deletions