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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxx>
---
 drivers/infiniband/hw/mlx5/main.c | 2 --
 1 file changed, 2 deletions(-)

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);
-- 
2.14.1




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux