diff options
author | Frank Haverkamp <haver@linux.vnet.ibm.com> | 2014-09-10 10:37:49 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-24 02:15:46 -0400 |
commit | 2d880ccfa9be92a10ea19f5a8f7e4be2a7d45e4d (patch) | |
tree | d9f2544ff864e9eaab33ef536626ed6aa5c03a96 /drivers/misc/genwqe | |
parent | 26d8f6f15112b8b0fbff360c360e8c42bf2bc370 (diff) |
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/misc/genwqe')
-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) | |||
1251 | } | 1251 | } |
1252 | 1252 | ||
1253 | rc = genwqe_set_interrupt_capability(cd, GENWQE_MSI_IRQS); | 1253 | rc = genwqe_set_interrupt_capability(cd, GENWQE_MSI_IRQS); |
1254 | if (rc) { | 1254 | if (rc) |
1255 | rc = -ENODEV; | ||
1256 | goto stop_kthread; | 1255 | goto stop_kthread; |
1257 | } | ||
1258 | 1256 | ||
1259 | /* | 1257 | /* |
1260 | * We must have all wait-queues initialized when we enable the | 1258 | * We must have all wait-queues initialized when we enable the |