diff mbox series

[rdma-next] RDMA/mlx5: Remove superfluous version print

Message ID 20180924185807.4462-1-markb@mellanox.com (mailing list archive)
State Accepted
Delegated to: Jason Gunthorpe
Headers show
Series [rdma-next] RDMA/mlx5: Remove superfluous version print | expand

Commit Message

Mark Bloch Sept. 24, 2018, 6:58 p.m. UTC
Commit 16c1975f10323 introduced profiles to MLX5 IB and in the process
added an unneeded version print when creating an MLX5 IB device. Remove
the print, we still have a printk for driver version in mlx5_ib_add().

Signed-off-by: Mark Bloch <markb@mellanox.com>
---
 drivers/infiniband/hw/mlx5/main.c | 2 --
 1 file changed, 2 deletions(-)

Comments

Jason Gunthorpe Sept. 25, 2018, 8:46 p.m. UTC | #1
On Mon, Sep 24, 2018 at 06:58:07PM +0000, Mark Bloch wrote:
> Commit 16c1975f10323 introduced profiles to MLX5 IB and in the process
> added an unneeded version print when creating an MLX5 IB device. Remove
> the print, we still have a printk for driver version in mlx5_ib_add().
> 
> Signed-off-by: Mark Bloch <markb@mellanox.com>
> ---
>  drivers/infiniband/hw/mlx5/main.c | 2 --
>  1 file changed, 2 deletions(-)

Applied to for-next

Thanks,
Jason
diff mbox series

Patch

diff --git a/drivers/infiniband/hw/mlx5/main.c b/drivers/infiniband/hw/mlx5/main.c
index 2be6a4377558..a824d9df232c 100644
--- a/drivers/infiniband/hw/mlx5/main.c
+++ b/drivers/infiniband/hw/mlx5/main.c
@@ -6252,8 +6252,6 @@  void *__mlx5_ib_add(struct mlx5_ib_dev *dev,
 	int err;
 	int i;
 
-	printk_once(KERN_INFO "%s", mlx5_version);
-
 	for (i = 0; i < MLX5_IB_STAGE_MAX; i++) {
 		if (profile->stage[i].init) {
 			err = profile->stage[i].init(dev);