Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 94901
b: refs/heads/master
c: bbdc282
h: refs/heads/master
i:
  94899: ff2b433
v: v3
  • Loading branch information
Olaf Kirch authored and Roland Dreier committed Apr 29, 2008
1 parent c9ad366 commit 4ce6793
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d227fa7288adebe5ba37fa8e4a589c977d4e4a34
refs/heads/master: bbdc2821db041fb07ffa52e4a0e1ebb5410790e9
6 changes: 0 additions & 6 deletions trunk/drivers/net/mlx4/mr.c
Original file line number Diff line number Diff line change
Expand Up @@ -607,15 +607,9 @@ EXPORT_SYMBOL_GPL(mlx4_fmr_enable);
void mlx4_fmr_unmap(struct mlx4_dev *dev, struct mlx4_fmr *fmr,
u32 *lkey, u32 *rkey)
{
u32 key;

if (!fmr->maps)
return;

key = key_to_hw_index(fmr->mr.key);
key &= dev->caps.num_mpts - 1;
*lkey = *rkey = fmr->mr.key = hw_index_to_key(key);

fmr->maps = 0;

*(u8 *) fmr->mpt = MLX4_MPT_STATUS_SW;
Expand Down

0 comments on commit 4ce6793

Please sign in to comment.