[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 <roland@topspin.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
Родитель
68a3c21203
Коммит
19272d4385
|
@ -437,7 +437,7 @@ static int __devinit mthca_init_icm(struct mthca_dev *mdev,
|
||||||
if (!mdev->qp_table.rdb_table) {
|
if (!mdev->qp_table.rdb_table) {
|
||||||
mthca_err(mdev, "Failed to map RDB context memory, aborting\n");
|
mthca_err(mdev, "Failed to map RDB context memory, aborting\n");
|
||||||
err = -ENOMEM;
|
err = -ENOMEM;
|
||||||
goto err_unmap_rdb;
|
goto err_unmap_eqp;
|
||||||
}
|
}
|
||||||
|
|
||||||
mdev->cq_table.table = mthca_alloc_icm_table(mdev, init_hca->cqc_base,
|
mdev->cq_table.table = mthca_alloc_icm_table(mdev, init_hca->cqc_base,
|
||||||
|
|
Загрузка…
Ссылка в новой задаче