summaryrefslogtreecommitdiff
path: root/drivers/infiniband/core/uverbs_main.c
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2024-06-05 08:51:00 -0600
committerLeon Romanovsky <leon@kernel.org>2024-06-09 11:15:27 +0300
commita1babdb5b615751ef5ace97a37f35d0ae40fbf13 (patch)
tree1b360db97dc8174ae40cbda6ccf83c7265f322bc /drivers/infiniband/core/uverbs_main.c
parente1168f09b3314992f1c5251f3793102035da7237 (diff)
RDMA/iwcm: Simplify cm_work_handler()
Instead of complicating the code to avoid a spin_lock_irqsave() / spin_lock_irqrestore() pair before returning, simplify the code by removing the local variable 'empty'. Signed-off-by: Bart Van Assche <bvanassche@acm.org> Link: https://lore.kernel.org/r/20240605145117.397751-5-bvanassche@acm.org Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'drivers/infiniband/core/uverbs_main.c')
0 files changed, 0 insertions, 0 deletions