diff options
author | Matan Barak | 2017-04-18 11:03:40 +0200 |
---|---|---|
committer | Doug Ledford | 2017-04-20 17:44:07 +0200 |
commit | c52d8114d1a58f6fe4bfb9af39d262dd8f21e50e (patch) | |
tree | 802c0d4035592f9149b969936a0499d0af8f9f7f /drivers/infiniband/core/uverbs_main.c | |
parent | IB/core: Nullify ib_uobject during allocation (diff) | |
download | kernel-qcow2-linux-c52d8114d1a58f6fe4bfb9af39d262dd8f21e50e.tar.gz kernel-qcow2-linux-c52d8114d1a58f6fe4bfb9af39d262dd8f21e50e.tar.xz kernel-qcow2-linux-c52d8114d1a58f6fe4bfb9af39d262dd8f21e50e.zip |
IB/core: A small refactor in destroy WQ handler
Instead of having uverbs_uobject_put both in the error flow and the
good flow, we unite them.
Fixes: fd3c7904db6e ('IB/core: Change idr objects to use the new schema')
Signed-off-by: Matan Barak <matanb@mellanox.com>
Reviewed-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/core/uverbs_main.c')
0 files changed, 0 insertions, 0 deletions