]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
RDMA/device: Use __ib_device_get_by_name() in ib_device_rename()
authorJason Gunthorpe <jgg@mellanox.com>
Sat, 12 Jan 2019 02:42:42 +0000 (02:42 +0000)
committerJason Gunthorpe <jgg@mellanox.com>
Fri, 18 Jan 2019 20:05:58 +0000 (13:05 -0700)
commit344684e6d02ff21ff2fce8cf1b2de3fd3cafcac7
tree6782ef8c0446bb99955672b189510917b8cf6ee2
parentde77503a59403e7045c18c6bb0a10c245a99b648
RDMA/device: Use __ib_device_get_by_name() in ib_device_rename()

No reason to open code this loop.

Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Reviewed-by: Steve Wise <swise@opengridcomputing.com>
drivers/infiniband/core/device.c