On Tue, Feb 12, 2019 at 08:39:14PM +0200, Leon Romanovsky wrote: > From: Leon Romanovsky <leonro@xxxxxxxxxxxx> > > 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@xxxxxxxxxxxx> > --- > drivers/infiniband/hw/nes/nes_verbs.c | 9 +-------- > drivers/infiniband/hw/nes/nes_verbs.h | 1 - > 2 files changed, 1 insertion(+), 9 deletions(-) Applied to for-next Thanks, Jason