Commit 4ba1bb9b authored by Rylan Dmello's avatar Rylan Dmello Committed by Greg Kroah-Hartman

staging: qlge: Remove multi-line dereference from ql_request_irq

Fix checkpatch.pl warning:

  WARNING: Avoid multiple line dereference - prefer 'qdev->flags'
Signed-off-by: default avatarRylan Dmello <mail@rylan.coffee>
Link: https://lore.kernel.org/r/517d71f0cbc55e6880c19a9ff16c2c8ab8913251.1588209862.git.mail@rylan.coffeeSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent faeea64f
...@@ -3415,9 +3415,9 @@ static int ql_request_irq(struct ql_adapter *qdev) ...@@ -3415,9 +3415,9 @@ static int ql_request_irq(struct ql_adapter *qdev)
&qdev->rx_ring[0]); &qdev->rx_ring[0]);
status = status =
request_irq(pdev->irq, qlge_isr, request_irq(pdev->irq, qlge_isr,
test_bit(QL_MSI_ENABLED, test_bit(QL_MSI_ENABLED, &qdev->flags)
&qdev-> ? 0
flags) ? 0 : IRQF_SHARED, : IRQF_SHARED,
intr_context->name, &qdev->rx_ring[0]); intr_context->name, &qdev->rx_ring[0]);
if (status) if (status)
goto err_irq; goto err_irq;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment