diff options
author | Leon Romanovsky <leonro@mellanox.com> | 2019-10-29 09:27:34 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-11-06 22:38:57 +0300 |
commit | 6a42265c9116a2ff8b94b52525c95f177cb15db2 (patch) | |
tree | b78ffaee870a0d9451b560a1d5d4e7d24412d156 /drivers/infiniband/hw/mlx5/mad.c | |
parent | be4a8d46732a45e78aa27c34b58431a917cd644d (diff) | |
download | linux-6a42265c9116a2ff8b94b52525c95f177cb15db2.tar.xz |
RDMA/ocrdma: Make ocrdma_pma_counters() return void
This function always returns 0, so just use void and remove the bogus
checking at the only call site.
Link: https://lore.kernel.org/r/20191029062745.7932-6-leon@kernel.org
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/hw/mlx5/mad.c')
0 files changed, 0 insertions, 0 deletions