IB/core: Avoid unnecessary return value check
authorParav Pandit <parav@mellanox.com>
Thu, 2 Nov 2017 13:22:27 +0000 (15:22 +0200)
committerDoug Ledford <dledford@redhat.com>
Mon, 13 Nov 2017 19:42:04 +0000 (14:42 -0500)
commit2e4c85c6edc80fa532b2c7e1eb3597ef4d4bbb8f
tree132a2b907b568c82d8ebb7da059e58069e3c07af
parent5f22a1d87c5315a98981ecf93cd8de226cffe6ca
IB/core: Avoid unnecessary return value check

Since there is nothing done with non zero return value, such check is
avoided.

Signed-off-by: Parav Pandit <parav@mellanox.com>
Reviewed-by: Daniel Jurgens <danielj@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/security.c