From: Roland Dreier Date: Sat, 16 Apr 2005 22:26:35 +0000 (-0700) Subject: [PATCH] drivers/infiniband/hw/mthca/mthca_main.c: remove an unused label X-Git-Tag: v2.6.12-rc3~55 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=19272d4385126c2ac369c9f6137a27a08aee50d1;p=linux-2.6 [PATCH] drivers/infiniband/hw/mthca/mthca_main.c: remove an unused label Correct unwinding in error path of mthca_init_icm(). Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/infiniband/hw/mthca/mthca_main.c b/drivers/infiniband/hw/mthca/mthca_main.c index a1fa326dce..d40590356d 100644 --- a/drivers/infiniband/hw/mthca/mthca_main.c +++ b/drivers/infiniband/hw/mthca/mthca_main.c @@ -437,7 +437,7 @@ static int __devinit mthca_init_icm(struct mthca_dev *mdev, 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,