Leon Romanovsky be56b07b4f RDMA/nes: Remove useless usecnt variable and redundant memset
The internal design of RDMA/core ensures that there dealloc ucontext will
be called only if alloc_ucontext succeeded, hence there is no need to
manage internal variable to mark validity of ucontext.

As part of this change, remove redundant memeset too.

Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2019-02-15 21:39:15 -07:00
..
2018-12-12 07:40:16 -07:00
2017-12-22 13:33:30 -07:00
2012-01-30 16:18:07 -08:00
2018-11-25 10:36:19 -08:00
2012-01-30 16:18:07 -08:00
2018-09-05 15:58:30 -06:00
2018-09-05 15:58:30 -06:00