OSDN Git Service

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)
commit38702cce547a74493687fd8bb925fbb5c3898ce3
tree76365eb8477564efc912076111d2d8eaa01aa6ed
parent37b6bb77c6fdad36f0d7bd425c005a014d5dffe4
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