Remove unused module parameter in mlx5ib.
MFC after: 3 days Sponsored by: Mellanox Technologies
This commit is contained in:
parent
622353cd04
commit
88a5e71b7e
@ -63,10 +63,6 @@ MODULE_DEPEND(mlx5ib, mlx5, 1, 1, 1);
|
||||
MODULE_DEPEND(mlx5ib, ibcore, 1, 1, 1);
|
||||
MODULE_VERSION(mlx5ib, 1);
|
||||
|
||||
static int deprecated_prof_sel = 2;
|
||||
module_param_named(prof_sel, deprecated_prof_sel, int, 0444);
|
||||
MODULE_PARM_DESC(prof_sel, "profile selector. Deprecated here. Moved to module mlx5_core");
|
||||
|
||||
static const char mlx5_version[] =
|
||||
DRIVER_NAME ": Mellanox Connect-IB Infiniband driver "
|
||||
DRIVER_VERSION " (" DRIVER_RELDATE ")\n";
|
||||
@ -3301,9 +3297,6 @@ static int __init mlx5_ib_init(void)
|
||||
{
|
||||
int err;
|
||||
|
||||
if (deprecated_prof_sel != 2)
|
||||
pr_warn("prof_sel is deprecated for mlx5_ib, set it for mlx5_core\n");
|
||||
|
||||
err = mlx5_ib_odp_init();
|
||||
if (err)
|
||||
return err;
|
||||
|
Loading…
Reference in New Issue
Block a user