summaryrefslogtreecommitdiff
path: root/drivers/infiniband/core/nldev.c
diff options
context:
space:
mode:
authorLeon Romanovsky <leonro@mellanox.com>2018-01-01 14:07:13 +0300
committerJason Gunthorpe <jgg@mellanox.com>2018-01-02 23:36:57 +0300
commit924b8900a49df284464db5d97362801f8a2ac7b4 (patch)
tree059c1aa76bd6f7ed63ccaf4bde810443ba1a989d /drivers/infiniband/core/nldev.c
parentb823369b6faa33cc71b65eef9bebcefe622913dc (diff)
downloadlinux-924b8900a49df284464db5d97362801f8a2ac7b4.tar.xz
RDMA/core: Replace open-coded variant of put_device
There is an existing function to decrease reference counter of the device, let's use it. Reviewed-by: Mark Bloch <markb@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/core/nldev.c')
0 files changed, 0 insertions, 0 deletions