OSDN Git Service

RDMA/core: Return void from ib_device_check_mandatory()
authorKamal Heib <kamalheib1@gmail.com>
Tue, 21 May 2019 07:05:07 +0000 (10:05 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 21 May 2019 18:30:46 +0000 (15:30 -0300)
commitdeee3c7e499108b0575ee0d71b786da627a7cdee
tree541a35a62de384479b54046aab4a47d28159715b
parent8ce0048f76542a1f4d68b647c5d4a4d35e7547cf
RDMA/core: Return void from ib_device_check_mandatory()

The return value from ib_device_check_mandatory() is always 0 - change it
to be void.

Signed-off-by: Kamal Heib <kamalheib1@gmail.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/device.c