Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 302615
b: refs/heads/master
c: f4ec9e9
h: refs/heads/master
i:
  302613: 4361384
  302611: fb1da64
  302607: 7dda4af
v: v3
  • Loading branch information
Jack Morgenstein authored and Roland Dreier committed May 14, 2012
1 parent b5a2cfd commit 627db3f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 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: 987c8f8fc9efcb3cb02bab3a10f95e4bd1540eeb
refs/heads/master: f4ec9e9531ac79ee2521faf7ad3d98978f747e42
3 changes: 0 additions & 3 deletions trunk/drivers/net/ethernet/mellanox/mlx4/alloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,6 @@ void mlx4_bitmap_free_range(struct mlx4_bitmap *bitmap, u32 obj, int cnt)

spin_lock(&bitmap->lock);
bitmap_clear(bitmap->table, obj, cnt);
bitmap->last = min(bitmap->last, obj);
bitmap->top = (bitmap->top + bitmap->max + bitmap->reserved_top)
& bitmap->mask;
bitmap->avail += cnt;
spin_unlock(&bitmap->lock);
}
Expand Down

0 comments on commit 627db3f

Please sign in to comment.