diff options
author | Aharon Landau <aharonl@nvidia.com> | 2022-02-15 19:55:29 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2022-02-23 14:59:13 -0400 |
commit | 185b9826782a53529b2b57328a8f49b1d0cf8f8f (patch) | |
tree | 187ed6ecc1373c64b4b7e8b37cacc49068b2da8f /drivers/infiniband/hw/mlx5/mlx5_ib.h | |
parent | IB/cma: Allow XRC INI QPs to set their local ACK timeout (diff) | |
download | linux-dev-185b9826782a53529b2b57328a8f49b1d0cf8f8f.tar.xz linux-dev-185b9826782a53529b2b57328a8f49b1d0cf8f8f.zip |
RDMA/mlx5: Remove redundant work in struct mlx5_cache_ent
delayed_cache_work_func() and the cache_work_func() are both wrappers of
__cache_work_func(). Instead of having a special not delayed work, use the
delayed work with delay = 0.
Link: https://lore.kernel.org/r/18b6ae205e75f087aa4a2a05c81ea8b66d8d88dc.1644947594.git.leonro@nvidia.com
Signed-off-by: Aharon Landau <aharonl@nvidia.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/infiniband/hw/mlx5/mlx5_ib.h')
-rw-r--r-- | drivers/infiniband/hw/mlx5/mlx5_ib.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/mlx5/mlx5_ib.h b/drivers/infiniband/hw/mlx5/mlx5_ib.h index af68bce056a7..bacb6900b39f 100644 --- a/drivers/infiniband/hw/mlx5/mlx5_ib.h +++ b/drivers/infiniband/hw/mlx5/mlx5_ib.h @@ -788,7 +788,6 @@ struct mlx5_cache_ent { u32 miss; struct mlx5_ib_dev *dev; - struct work_struct work; struct delayed_work dwork; }; |