IB/rxe: Removed GID add/del dummy routines
authorParav Pandit <parav@mellanox.com>
Wed, 4 Apr 2018 04:06:18 +0000 (23:06 -0500)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 5 Apr 2018 16:15:33 +0000 (10:15 -0600)
commit39e00b6cf65831469a57333a929b8ca986892798
tree4e398b22b92c6dad71fd32e87a67fe7edc846fab
parent57939021e8f882d13a5263a9d682c64ae00c578d
IB/rxe: Removed GID add/del dummy routines

rxe driver's add_gid() and del_gid() callbacks are doing simple
checks which are already done by the ib core before invoking these
callback routines.
Therefore, code is simplified to skip implementing add_gid() and
del_gid() callback functions.
They are only invoked by ib_core if they are implemented.

Signed-off-by: Parav Pandit <parav@mellanox.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/sw/rxe/rxe_verbs.c