Commit 2d880ccf authored by Frank Haverkamp's avatar Frank Haverkamp Committed by Greg Kroah-Hartman

GenWQE: Do not modify return code of genwqe_set_interrupt_capability

Follow up patch to the one from Sebastian Ott. There is no need to
change the return code once it fails. And Sebastians version is tested
now and works nicely on our test-system.
Signed-off-by: default avatarFrank Haverkamp <haver@linux.vnet.ibm.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 26d8f6f1
...@@ -1251,10 +1251,8 @@ int genwqe_setup_service_layer(struct genwqe_dev *cd) ...@@ -1251,10 +1251,8 @@ int genwqe_setup_service_layer(struct genwqe_dev *cd)
} }
rc = genwqe_set_interrupt_capability(cd, GENWQE_MSI_IRQS); rc = genwqe_set_interrupt_capability(cd, GENWQE_MSI_IRQS);
if (rc) { if (rc)
rc = -ENODEV;
goto stop_kthread; goto stop_kthread;
}
/* /*
* We must have all wait-queues initialized when we enable the * We must have all wait-queues initialized when we enable the
......
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