[ofa-general] RE: [PATCH] RDMA/nes: Remove root_256's unused pbl_count_256 parameter

Tung, Chien Tin chien.tin.tung at intel.com
Tue Apr 21 07:01:52 PDT 2009


>Signed-off-by: Matt Kraai <kraai at ftbfs.org>
>---
> drivers/infiniband/hw/nes/nes_verbs.c |    5 ++---
> 1 files changed, 2 insertions(+), 3 deletions(-)
>
> Sorry, I forgot to include a Signed-off-by line in the previous
> submission.
>
>diff --git a/drivers/infiniband/hw/nes/nes_verbs.c 
>b/drivers/infiniband/hw/nes/nes_verbs.c
>index 7e5b5ba..0b852f4 100644
>--- a/drivers/infiniband/hw/nes/nes_verbs.c
>+++ b/drivers/infiniband/hw/nes/nes_verbs.c
>@@ -1895,8 +1895,7 @@ static int nes_destroy_cq(struct ib_cq *ib_cq)
> static u32 root_256(struct nes_device *nesdev,
> 		    struct nes_root_vpbl *root_vpbl,
> 		    struct nes_root_vpbl *new_root,
>-		    u16 pbl_count_4k,
>-		    u16 pbl_count_256)
>+		    u16 pbl_count_4k)
> {
> 	u64 leaf_pbl;
> 	int i, j, k;
>@@ -2012,7 +2011,7 @@ static int nes_reg_mr(struct nes_device 
>*nesdev, struct nes_pd *nespd,
> 	}
> 
> 	if (use_256_pbls && use_two_level) {
>-		if (root_256(nesdev, root_vpbl, &new_root, 
>pbl_count_4k, pbl_count_256) == 1) {
>+		if (root_256(nesdev, root_vpbl, &new_root, 
>pbl_count_4k) == 1) {
> 			if (new_root.pbl_pbase != 0)
> 				root_vpbl = &new_root;
> 		} else {
>-- 
>1.6.2.3

Thanks for the patch.

Acked-by: Chien Tung <chien.tin.tung at intel.com>


More information about the general mailing list