[patch 190/198] drivers/infiniband/hw/mthca/mthca_main.c: remove an unused label

From: akpm
Date: Tue Apr 12 2005 - 09:20:34 EST



From: Roland Dreier <roland@xxxxxxxxxxx>

Correct unwinding in error path of mthca_init_icm().

Signed-off-by: Roland Dreier <roland@xxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

25-akpm/drivers/infiniband/hw/mthca/mthca_main.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/infiniband/hw/mthca/mthca_main.c~ib-mthca-add-support-for-new-mt25204-hca-fix drivers/infiniband/hw/mthca/mthca_main.c
--- 25/drivers/infiniband/hw/mthca/mthca_main.c~ib-mthca-add-support-for-new-mt25204-hca-fix 2005-04-12 03:21:48.679736456 -0700
+++ 25-akpm/drivers/infiniband/hw/mthca/mthca_main.c 2005-04-12 03:21:48.683735848 -0700
@@ -437,7 +437,7 @@ static int __devinit mthca_init_icm(stru
if (!mdev->qp_table.rdb_table) {
mthca_err(mdev, "Failed to map RDB context memory, aborting\n");
err = -ENOMEM;
- goto err_unmap_rdb;
+ goto err_unmap_eqp;
}

mdev->cq_table.table = mthca_alloc_icm_table(mdev, init_hca->cqc_base,
_
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/