File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
drivers/infiniband/hw/mlx5 Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -718,8 +718,7 @@ mkey_cache_ent_from_rb_key(struct mlx5_ib_dev *dev,
718
718
}
719
719
720
720
static struct mlx5_ib_mr * _mlx5_mr_cache_alloc (struct mlx5_ib_dev * dev ,
721
- struct mlx5_cache_ent * ent ,
722
- int access_flags )
721
+ struct mlx5_cache_ent * ent )
723
722
{
724
723
struct mlx5_ib_mr * mr ;
725
724
int err ;
@@ -794,7 +793,7 @@ struct mlx5_ib_mr *mlx5_mr_cache_alloc(struct mlx5_ib_dev *dev,
794
793
if (!ent )
795
794
return ERR_PTR (- EOPNOTSUPP );
796
795
797
- return _mlx5_mr_cache_alloc (dev , ent , access_flags );
796
+ return _mlx5_mr_cache_alloc (dev , ent );
798
797
}
799
798
800
799
static void mlx5_mkey_cache_debugfs_cleanup (struct mlx5_ib_dev * dev )
@@ -1155,7 +1154,7 @@ static struct mlx5_ib_mr *alloc_cacheable_mr(struct ib_pd *pd,
1155
1154
return mr ;
1156
1155
}
1157
1156
1158
- mr = _mlx5_mr_cache_alloc (dev , ent , access_flags );
1157
+ mr = _mlx5_mr_cache_alloc (dev , ent );
1159
1158
if (IS_ERR (mr ))
1160
1159
return mr ;
1161
1160
You can’t perform that action at this time.
0 commit comments