net/mlx4: remove unnecessary wrapper functions