diff options
author | Mark Bloch <markb@mellanox.com> | 2018-09-24 21:58:07 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-09-25 23:36:50 +0300 |
commit | 0430e74f9fbe4d027a86f39fdb6f20427912088f (patch) | |
tree | e8f73c50dfb2276a1dcdd89ca46dd5c0553262c6 /drivers/infiniband/hw/mlx5 | |
parent | e3b00e9c3051162a46dd03be0bd92fe52de703b3 (diff) | |
download | linux-0430e74f9fbe4d027a86f39fdb6f20427912088f.tar.xz |
RDMA/mlx5: Remove superfluous version print
When profiles were introduced to MLX5 IB an unneeded version print when
creating an MLX5 IB device was added. Remove the print, we still have a
printk for driver version in mlx5_ib_add().
Fixes: 16c1975f1032 ("IB/mlx5: Create profile infrastructure to add and remove stages")
Signed-off-by: Mark Bloch <markb@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/hw/mlx5')
-rw-r--r-- | drivers/infiniband/hw/mlx5/main.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/infiniband/hw/mlx5/main.c b/drivers/infiniband/hw/mlx5/main.c index 91693e1a3731..fb1e3c546826 100644 --- a/drivers/infiniband/hw/mlx5/main.c +++ b/drivers/infiniband/hw/mlx5/main.c @@ -6199,8 +6199,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); |