On Fri, Jul 30, 2021 at 03:18:32PM +0200, Jack Wang wrote: > From: Gioh Kim <gi-oh.kim@xxxxxxxxx> > > As recommended by Leon > https://www.spinics.net/lists/linux-rdma/msg102200.html > this patch removes (void) casting because that does nothing. > > Signed-off-by: Gioh Kim <gi-oh.kim@xxxxxxxxx> > Reviewed-by: Md Haris Iqbal <haris.iqbal@xxxxxxxxx> > Signed-off-by: Jack Wang <jinpu.wang@xxxxxxxxx> > --- > drivers/infiniband/ulp/rtrs/rtrs-srv.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > I would write the commit message differently: ------ Casting to (void) does nothing, remove them. Link: https://www.spinics.net/lists/linux-rdma/msg102200.html Suggested-by: Leon Romanovsky <leon@xxxxxxxxxx> Signed-off-by: Gioh Kim <gi-oh.kim@xxxxxxxxx> Reviewed-by: Md Haris Iqbal <haris.iqbal@xxxxxxxxx> Signed-off-by: Jack Wang <jinpu.wang@xxxxxxxxx>