aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/mlx5/qp.c
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2021-02-08 20:33:47 +0100
committerJason Gunthorpe <jgg@nvidia.com>2021-02-08 20:43:11 -0400
commita14e3caaaa72e9c5c91e823dde3383122215207d (patch)
treee0cc05b66bd6d91cdf9dbe263506e26ab1d9400f /drivers/infiniband/hw/mlx5/qp.c
parentRDMA/rxe: Cleanup init_send_wqe (diff)
downloadlinux-dev-a14e3caaaa72e9c5c91e823dde3383122215207d.tar.xz
linux-dev-a14e3caaaa72e9c5c91e823dde3383122215207d.zip
RDMA/qedr: Remove in_irq() usage from debug output
qedr_gsi_post_send() has a debug output which prints the return value of in_irq() and irqs_disabled(). The result of the in_irq(), even if invoked from an interrupt handler, is subject to change depending on the `threadirqs' command line switch. The result of irqs_disabled() is always be 1 because the function acquires spinlock_t with spin_lock_irqsave(). Remove in_irq() and irqs_disabled() from the debug output because it provides little value. Link: https://lore.kernel.org/r/20210208193347.383254-1-bigeasy@linutronix.de Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/infiniband/hw/mlx5/qp.c')
0 files changed, 0 insertions, 0 deletions