]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Remove unused MLX5_*_DOORBELL_LOCK macros
authorMaxim Mikityanskiy <maximmi@mellanox.com>
Fri, 29 Mar 2019 22:37:51 +0000 (15:37 -0700)
committerSaeed Mahameed <saeedm@mellanox.com>
Tue, 2 Apr 2019 19:49:37 +0000 (12:49 -0700)
commit96375c07c28d89d4d2f7497411f9f8b12c3c50ab
tree76365eb8477564efc912076111d2d8eaa01aa6ed
parentca3239e5be19920e54b82f9f2662d8ca8779dde5
net/mlx5: Remove unused MLX5_*_DOORBELL_LOCK macros

MLX5_*_DOORBELL_LOCK macros provided a way to avoid locking for
mlx5_write64 on 64-bit platforms where it's not necessary. Currently all
calls to mlx5_write64 don't use a spinlock, so the macros became unused.

Signed-off-by: Maxim Mikityanskiy <maximmi@mellanox.com>
Reviewed-by: Eran Ben Elisha <eranbe@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
include/linux/mlx5/doorbell.h