aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeon Romanovsky <leonro@mellanox.com>2017-01-18 07:10:36 -0500
committerDoug Ledford <dledford@redhat.com>2017-02-14 10:14:25 -0500
commit5abb0da9cd438483d80517b1d5f0a62a2f818426 (patch)
treef716f5a86b08adfea7ce50e2306ad5a1f3bcc369
parented88451e1f2d400fd6a743d0a481631cf9f97550 (diff)
IB/mlx5: Remove deprecated module parameter
Commit 9603b61de1ee ("mlx5: Move pci device handling from mlx5_ib to mlx5_core") moved prof_sel module parameter from mlx5_ib to mlx5_core and marked it as deprecated in 2014. Three years after deprecation, it is time to remove the deprecated module parameter. Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Reviewed-by: Jack Morgenstein <jackm@mellanox.com> Signed-off-by: Leon Romanovsky <leon@kernel.org> Reviewed-by: Yuval Shaia <yuval.shaia@oracle.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
-rw-r--r--drivers/infiniband/hw/mlx5/main.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/infiniband/hw/mlx5/main.c b/drivers/infiniband/hw/mlx5/main.c
index 6a81f0273f45..fc02f5f05b38 100644
--- a/drivers/infiniband/hw/mlx5/main.c
+++ b/drivers/infiniband/hw/mlx5/main.c
@@ -64,10 +64,6 @@ MODULE_DESCRIPTION("Mellanox Connect-IB HCA IB driver");
64MODULE_LICENSE("Dual BSD/GPL"); 64MODULE_LICENSE("Dual BSD/GPL");
65MODULE_VERSION(DRIVER_VERSION); 65MODULE_VERSION(DRIVER_VERSION);
66 66
67static int deprecated_prof_sel = 2;
68module_param_named(prof_sel, deprecated_prof_sel, int, 0444);
69MODULE_PARM_DESC(prof_sel, "profile selector. Deprecated here. Moved to module mlx5_core");
70
71static char mlx5_version[] = 67static char mlx5_version[] =
72 DRIVER_NAME ": Mellanox Connect-IB Infiniband driver v" 68 DRIVER_NAME ": Mellanox Connect-IB Infiniband driver v"
73 DRIVER_VERSION " (" DRIVER_RELDATE ")\n"; 69 DRIVER_VERSION " (" DRIVER_RELDATE ")\n";
@@ -3479,9 +3475,6 @@ static int __init mlx5_ib_init(void)
3479{ 3475{
3480 int err; 3476 int err;
3481 3477
3482 if (deprecated_prof_sel != 2)
3483 pr_warn("prof_sel is deprecated for mlx5_ib, set it for mlx5_core\n");
3484
3485 err = mlx5_register_interface(&mlx5_ib_interface); 3478 err = mlx5_register_interface(&mlx5_ib_interface);
3486 3479
3487 return err; 3480 return err;