> Subject: [PATCHv2 1/1] RDMA/irdma: Make irdma_create_mg_ctx return a void > > From: Zhu Yanjun <yanjun.zhu@xxxxxxxxx> > > The function irdma_create_mg_ctx always returns 0, so make it void and delete the > return value check. > > Signed-off-by: Zhu Yanjun <yanjun.zhu@xxxxxxxxx> > --- > V1->V2: Remove the unused ret_code and rebase to the commit 2322d17abf0a > ("RDMA/irdma: Remove excess error variables") > --- > drivers/infiniband/hw/irdma/uda.c | 10 ++-------- > 1 file changed, 2 insertions(+), 8 deletions(-) > Acked-by: Shiraz Saleem <shiraz.saleem@xxxxxxxxx>