diff options
author | Frank Haverkamp <haver@linux.vnet.ibm.com> | 2014-09-10 18:37:49 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-24 10:15:46 +0400 |
commit | 2d880ccfa9be92a10ea19f5a8f7e4be2a7d45e4d (patch) | |
tree | d9f2544ff864e9eaab33ef536626ed6aa5c03a96 /drivers | |
parent | 26d8f6f15112b8b0fbff360c360e8c42bf2bc370 (diff) | |
download | linux-2d880ccfa9be92a10ea19f5a8f7e4be2a7d45e4d.tar.xz |
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: Frank Haverkamp <haver@linux.vnet.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/misc/genwqe/card_ddcb.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/misc/genwqe/card_ddcb.c b/drivers/misc/genwqe/card_ddcb.c index 75ff67485fdf..fe8e433cdd15 100644 --- a/drivers/misc/genwqe/card_ddcb.c +++ b/drivers/misc/genwqe/card_ddcb.c @@ -1251,10 +1251,8 @@ int genwqe_setup_service_layer(struct genwqe_dev *cd) } rc = genwqe_set_interrupt_capability(cd, GENWQE_MSI_IRQS); - if (rc) { - rc = -ENODEV; + if (rc) goto stop_kthread; - } /* * We must have all wait-queues initialized when we enable the |