On Wed, Jan 05, 2022 at 10:04:56AM +0200, Leon Romanovsky wrote: > From: Leon Romanovsky <leonro@xxxxxxxxxx> > > Several drivers used same function to initialize query MAD, > so move that function to global header file. > > Signed-off-by: Leon Romanovsky <leonro@xxxxxxxxxx> > Reviewed-by: Håkon Bugge <haakon.bugge@xxxxxxxxxx> > --- > drivers/infiniband/hw/mlx4/main.c | 24 +++++++------------- > drivers/infiniband/hw/mlx5/mad.c | 18 +++++++-------- > drivers/infiniband/hw/mlx5/mlx5_ib.h | 8 ------- > drivers/infiniband/hw/mthca/mthca_provider.c | 20 +++++----------- > include/rdma/ib_smi.h | 12 +++++++++- > 5 files changed, 34 insertions(+), 48 deletions(-) Applied to for-next, thanks Jason