> -----Original Message----- > From: linux-rdma-owner@xxxxxxxxxxxxxxx <linux-rdma- > owner@xxxxxxxxxxxxxxx> On Behalf Of Leon Romanovsky > Sent: Wednesday, February 20, 2019 1:21 AM > To: David Ahern <dsahern@xxxxxxxxx> > Cc: Leon Romanovsky <leonro@xxxxxxxxxxxx>; netdev > <netdev@xxxxxxxxxxxxxxx>; RDMA mailing list <linux- > rdma@xxxxxxxxxxxxxxx>; Stephen Hemminger > <stephen@xxxxxxxxxxxxxxxxxx> > Subject: [PATCH iproute2-next v1 11/19] rdma: Simplify code to reuse > existing functions > > From: Leon Romanovsky <leonro@xxxxxxxxxxxx> > > Remove duplicated functions in favour general res_print_uint() call. > > Signed-off-by: Leon Romanovsky <leonro@xxxxxxxxxxxx> > --- > rdma/res-cmid.c | 4 ++-- > rdma/res-cq.c | 14 +++----------- > rdma/res-mr.c | 2 +- > rdma/res-pd.c | 4 ++-- > rdma/res-qp.c | 14 +++----------- > rdma/res.c | 34 ++-------------------------------- > rdma/res.h | 3 --- > 7 files changed, 13 insertions(+), 62 deletions(-) > Reviewed-by: Steve Wise <swise@xxxxxxxxxxxxxxxxxxxxx>