diff options
author | Maxim Mikityanskiy <maximmi@mellanox.com> | 2019-03-29 23:37:52 +0100 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2019-04-02 21:49:37 +0200 |
commit | bbf29f618e8c5bfd6efdad5fdc050a84bab795ab (patch) | |
tree | 0f64a9d17640e1e9b083df0e547ac6c69e5deb34 /drivers/infiniband | |
parent | net/mlx5: Remove unused MLX5_*_DOORBELL_LOCK macros (diff) | |
download | linux-bbf29f618e8c5bfd6efdad5fdc050a84bab795ab.tar.xz linux-bbf29f618e8c5bfd6efdad5fdc050a84bab795ab.zip |
net/mlx5: Remove spinlock support from mlx5_write64
As there is no user of mlx5_write64 that passes a spinlock to
mlx5_write64, remove this functionality and simplify the function.
Signed-off-by: Maxim Mikityanskiy <maximmi@mellanox.com>
Reviewed-by: Eran Ben Elisha <eranbe@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers/infiniband')
-rw-r--r-- | drivers/infiniband/hw/mlx5/qp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/mlx5/qp.c b/drivers/infiniband/hw/mlx5/qp.c index dd2ae640bc84..816c34ee91cf 100644 --- a/drivers/infiniband/hw/mlx5/qp.c +++ b/drivers/infiniband/hw/mlx5/qp.c @@ -5015,7 +5015,7 @@ out: wmb(); /* currently we support only regular doorbells */ - mlx5_write64((__be32 *)ctrl, bf->bfreg->map + bf->offset, NULL); + mlx5_write64((__be32 *)ctrl, bf->bfreg->map + bf->offset); /* Make sure doorbells don't leak out of SQ spinlock * and reach the HCA out of order. */ |